Simulink-Blockmask: How to add a button and assign a callback by m-file script?

조회 수: 4 (최근 30일)
I what to modify many library elements programmatically and add some buttons to the block mask. How can this be done?
(After adding some buttons to the mask manually I can't find any changes with get_param(gcb,'ObjectParameters')).

채택된 답변

Fangjun Jiang
Fangjun Jiang 2020년 10월 12일
To get mask parameters
get_param(gcb,'MaskNames'), or 'MaskVariables','MaskPropertyNameString',...
To do mask programmatically
web(fullfile(docroot, 'simulink/slref/simulink.mask-class.html'))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Author Block Masks에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by