add From-Block Script

조회 수: 4 (최근 30일)
SmokingAce
SmokingAce 2015년 3월 31일
답변: TAB 2015년 4월 6일
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.

채택된 답변

TAB
TAB 2015년 4월 6일
BlkH = add_block('Simulink/Signal Routing/From','Test_System'/Tag1');
set_param(BlkH, 'GotoTag', 'house');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by