フィルターのクリア

Groupbox in Simulink Mask

10 ビュー (過去 30 日間)
Roberto Sandano
Roberto Sandano 2017 年 5 月 8 日
回答済み: bert de Jong 2019 年 11 月 25 日
Hello, I am working with masks in Simulink. I create it and i use a groupbox and a tab inside it to group the parameters. Is there a way to access the groupbox and tab, and to change their Visibility, using the 'get_param' and 'set_param' methods in the Matlab command window?

回答 (2 件)

bert de Jong
bert de Jong 2019 年 11 月 25 日
First get the mask into your workspace:
mask = Simulink.Mask.get('YourSimulinkBlockPathHere');
Then there is an undocumented funcion called getDialogControls:
mask.getDialogControls()
This will give you a container object which contains your groupboxes etc. I'm sure you will find your way from there...

Sebastian Schulte
Sebastian Schulte 2018 年 12 月 7 日
Have you found a solution? (comic)

カテゴリ

Help Center および File ExchangeAuthor Block Masks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by