add From-Block Script
12 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
採用された回答
TAB
2015 年 4 月 6 日
BlkH = add_block('Simulink/Signal Routing/From','Test_System'/Tag1');
set_param(BlkH, 'GotoTag', 'house');
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Programmatic Model Editing についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!