GUI from Simulink File

1 次查看(过去 30 天)
Sérgio
Sérgio 2013-5-13
Hi all!
It is possible to call a GUI file from a Simulink file? How?
Sérgio

采纳的回答

David Sanchez
David Sanchez 2013-5-13
Your GUI consists of two files: mygui.fig and mygui.m If you call the function mygui.m from simulink, your GUI will pop up. Look for user defined function block and make a call to your mygui.m. Take into account that if you do not set the right means for it, your gui will be called every sample time, which means many times. Watch out for that.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by