How to programmitcally edit the "Goto Tag" in "From" block in simulink
2 ビュー (過去 30 日間)
古いコメントを表示
Reihaneh Jahedan
2023 年 8 月 28 日
コメント済み: Reihaneh Jahedan
2023 年 8 月 31 日
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 件のコメント
採用された回答
Fangjun Jiang
2023 年 8 月 28 日
get_param(PathToTheBlock,'GotoTag');
set_param(PathToTheBlock,'GotoTag','B')
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulink Environment Customization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!