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 Environment Customization についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!