How to programmitcally edit the "Goto Tag" in "From" block in simulink
조회 수: 2 (최근 30일)
이전 댓글 표시
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!