Using 'push botton' in GUIDE to open the simulink block's mask.
古いコメントを表示
I would like to using 'push botton' in GUIDE to open the simulink block's mask in order to fill in the mask's parameter. But since I am NEW in MATLAB, I cant manage to do it. I try to put simple function in the pus button function open_system('model/subsystem','mask') but cannot be done. Please advice.... more detail.... thanks
回答 (1 件)
TAB
2012 年 4 月 26 日
Suppos your block is MyBlock placed in MyModel.
To open the parameter dialog box write below code in callback function of your pushbutton
open_system('MyModel/MyBlock');
カテゴリ
ヘルプ センター および File Exchange で Modeling についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!