How to add Simulink icon to our own GUI.
2 次查看(过去 30 天)
显示 更早的评论
Hi, I am preparing a GUI, in which i would like to add Simulink tool to the Tool bar existing in the GUI. I want to open a new simulink model by a click. I want to open a untitled simulink model, with my click on that icon, as we generally do in the Simulink Library Browser.
Please help me
0 个评论
采纳的回答
TAB
2012-1-23
To create & open a new 'untitled' simulink model, use below command in pushbutton callback function
open_system(new_system);
0 个评论
更多回答(1 个)
Christophe
2012-1-23
Hello,
Create a pushbutton associated with a Callback function.
In the Callback, use the "simulink" command, it will call Simulink when clicking on the button.
2 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!