Hello,
im writing a matlab script and i'm trying do add a From-Block. The goto Block is already in the system but i cant link the goto and the from block. Im looking for something like that:
add_block('Simulink/Signal Routing/From','Test_System'/Tag1',.....
And now i dont know the command to link the Goto and the from. It's a local Tag called 'house'.
Thanks a lot.

 Respuesta aceptada

TAB
TAB el 6 de Abr. de 2015

1 voto

BlkH = add_block('Simulink/Signal Routing/From','Test_System'/Tag1');
set_param(BlkH, 'GotoTag', 'house');

Más respuestas (0)

Categorías

Más información sobre Simulink Functions en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 31 de Mzo. de 2015

Respondida:

TAB
el 6 de Abr. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by