Simulink-Blockmask: How to add a button and assign a callback by m-file script?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Thomas
am 12 Okt. 2020
Beantwortet: Fangjun Jiang
am 12 Okt. 2020
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')).
0 Kommentare
Akzeptierte Antwort
Fangjun Jiang
am 12 Okt. 2020
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Author Block Masks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!