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

3 ビュー (過去 30 日間)
Thomas
Thomas 2020 年 10 月 12 日
回答済み: Fangjun Jiang 2020 年 10 月 12 日
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 Center および File ExchangeAuthor Block Masks についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by