필터 지우기
필터 지우기

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 CenterFile Exchange에서 Author Block Masks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by