필터 지우기
필터 지우기

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.

채택된 답변

Fangjun Jiang
Fangjun Jiang 2023년 8월 28일
get_param(PathToTheBlock,'GotoTag');
set_param(PathToTheBlock,'GotoTag','B')

추가 답변 (0개)

카테고리

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

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by