how to call specific m file from simulink?

1 Ansicht (letzte 30 Tage)
EDDYKURNIAWAN ABDRAUF
EDDYKURNIAWAN ABDRAUF am 16 Okt. 2016
Beantwortet: Walter Roberson am 16 Okt. 2016
helloo.. i have two m file that want to run....for certain condition just one of the m file was need to run and vices versa... for example i f i push a button one mfile was and if not another m file was run..

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 16 Okt. 2016
You can use the button with an IF block, or with a switch, or with a triggering subsystem, or you could use it with a MATLAB Function Block that examined the value to determine what to call.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by