How to programmitcally edit the "Goto Tag" in "From" block in simulink
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Reihaneh Jahedan
il 28 Ago 2023
Commentato: Reihaneh Jahedan
il 31 Ago 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 Commenti
Risposta accettata
Fangjun Jiang
il 28 Ago 2023
get_param(PathToTheBlock,'GotoTag');
set_param(PathToTheBlock,'GotoTag','B')
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Environment Customization in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!