How can I read "Go To" tags in embedded matlab function in Simulink?
Mostra commenti meno recenti
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?
Risposta accettata
Più risposte (1)
Anthony Poulin
il 9 Nov 2012
0 voti
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?
1 Commento
Salvation
il 10 Nov 2012
Categorie
Scopri di più su Simulink Environment Customization in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!