Simulink.Parameter trouble
Ältere Kommentare anzeigen
How can i change a simulink parameter's name acording to a specific block, example: i tried to use: get_param(gcb,'name')= struct
get_param(gcb,'name')=Simulink.Parameter
but it's not working.
Antworten (2)
Christopher Wallace
am 7 Jun. 2018
I'm not entirely clear on your question but it looks like you should be using:
set_param(gcb, 'Name', <insert Simulink parameter>)
What parameter are you wanting to use?
TAB
am 8 Jun. 2018
evalin('base', [get_param(gcb, 'Name') '=Simulink.Parameter']);
1 Kommentar
Badr Taleb
am 8 Jun. 2018
Kategorien
Mehr zu Event Functions finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

