Calling a Simulink-Modell by Button Click

1 回表示 (過去 30 日間)
Jay Samin
Jay Samin 2016 年 8 月 11 日
コメント済み: Jay Samin 2016 年 8 月 12 日
Hi everyone,
i programmed a Gui in Matlab and i would like to call a Simulink-Model through button click. has someone an idea how I can do it ?
I appreciate any help Jay

採用された回答

Fangjun Jiang
Fangjun Jiang 2016 年 8 月 12 日
What do you mean "call a Simulink-Model", open it and run simulation? You can put some code similar to below in the callback function of your button click.
open_system('ModelName'); sim('ModelName');
For info on other Simulink related functions, type "help simulink"
  1 件のコメント
Jay Samin
Jay Samin 2016 年 8 月 12 日
Hallo Fangjun,
sorry because i didn't express my problem clearly, I want to call the model and its necessary M-files but i don´t want to simulate it.

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by