GUI from Simulink File

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

 採用された回答

David Sanchez
David Sanchez 2013 年 5 月 13 日

1 投票

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.

1 件のコメント

Sérgio
Sérgio 2013 年 5 月 13 日
Thanks Dave!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by