How to programmitcally edit the "Goto Tag" in "From" block in simulink
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Reihaneh Jahedan
el 28 de Ag. de 2023
Comentada: Reihaneh Jahedan
el 31 de Ag. de 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 comentarios
Respuesta aceptada
Fangjun Jiang
el 28 de Ag. de 2023
get_param(PathToTheBlock,'GotoTag');
set_param(PathToTheBlock,'GotoTag','B')
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Environment Customization en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!