Calling a Simulink-Modell by Button Click

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by