How can I get the input names of the first level only in my simulink model?
Mostra commenti meno recenti
With this code I can get all the inputs off my simulink model
rootHdl = get_param(bdroot, 'Handle');
sysIns = find_system(rootHdl, 'BlockType', 'Inport');
inportNames = get_param(sysIns, 'Name');
%I would like to have only the firsrt level?
Thanks in advance
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Verification, Validation, and Test in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!