How to programmitcally edit the "Goto Tag" in "From" block in simulink
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Reihaneh Jahedan
am 28 Aug. 2023
Kommentiert: Reihaneh Jahedan
am 31 Aug. 2023
I have a simulink model with multiple Goto blocks. I also have a "From" block in my model that corresponds to one of these "GoTo" blocks, How can I change its "Goto Tag" and "Goto Source"? I want it to get coreesponded to another "GoTo" block.
0 Kommentare
Akzeptierte Antwort
Fangjun Jiang
am 28 Aug. 2023
get_param(PathToTheBlock,'GotoTag');
set_param(PathToTheBlock,'GotoTag','B')
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Environment Customization 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!