Calling a Simulink-Modell by Button Click

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 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeConfigure and View Diagnostics についてさらに検索

製品

タグ

質問済み:

2016 年 8 月 11 日

コメント済み:

2016 年 8 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by