How can I read "Go To" tags in embedded matlab function in Simulink?
Mostrar comentarios más antiguos
How can I read "Go To" tags in embedded matlab function in Simulink? Can I have 2 inputs to an embedded matlab function in Simulink?
Respuesta aceptada
Más respuestas (1)
Anthony Poulin
el 9 de Nov. de 2012
0 votos
Hi,
To read all the goto tags in your model, you can use this code:
block = find_system(gcs,'BlockType','Goto'); Tag = []; for i = 1:length(block) Tag{i,1}=get_param(block{i},'GotoTag'); end
Is answering your question?
1 comentario
Salvation
el 10 de Nov. de 2012
Categorías
Más información sobre Simulink Environment Customization en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!