How can I read "Go To" tags in embedded matlab function in Simulink?
이전 댓글 표시
How can I read "Go To" tags in embedded matlab function in Simulink? Can I have 2 inputs to an embedded matlab function in Simulink?
채택된 답변
추가 답변 (1개)
Anthony Poulin
2012년 11월 9일
0 개 추천
Hi,
To read all the goto tags in your model, you can use this code:
block = find_system(gcs,'BlockType','Goto'); Tag = []; for i = 1:length(block) Tag{i,1}=get_param(block{i},'GotoTag'); end
Is answering your question?
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!