how to call specific m file from simulink?

1 回表示 (過去 30 日間)
EDDYKURNIAWAN ABDRAUF
EDDYKURNIAWAN ABDRAUF 2016 年 10 月 16 日
回答済み: Walter Roberson 2016 年 10 月 16 日
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..
  1 件のコメント
EDDYKURNIAWAN ABDRAUF
EDDYKURNIAWAN ABDRAUF 2016 年 10 月 16 日
was run and if not #

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2016 年 10 月 16 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by