Filter löschen
Filter löschen

M file starten in Simulink

3 Ansichten (letzte 30 Tage)
Owen
Owen am 10 Nov. 2012
Hi,
I have an M file (also a function) which includes the "sim()" command. This M file is used to start the Simulink simulation.
Is it possible to run this M file in Simulink, that is, by clicking some button?
Generally an M file can be integrated into an S function block, but this M files contains the "sim()" command.
Thanks Senmeis

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 12 Nov. 2012
You can use a Simulink annotation with a Click function to create a hyperlink on the model canvas that will run a MATLAB command upon clicking.

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by