GUI from Simulink File

Hi all!
It is possible to call a GUI file from a Simulink file? How?
Sérgio

 Accepted Answer

David Sanchez
David Sanchez on 13 May 2013

1 vote

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.

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!