Find the name of last inport in sub-system
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Subhash Bhashakhetre
il 25 Feb 2020
Risposto: Monika Jaskolka
il 26 Feb 2020
Is there any way to get the name of last inport in sub-system using matlab code?
0 Commenti
Risposta accettata
Monika Jaskolka
il 26 Feb 2020
find_system(gcs, 'SearchDepth', 1, 'BlockType', 'Inport', 'Port', num2str(length(find_system(gcs, 'SearchDepth', 1, 'BlockType', 'Inport'))))
where gcs is the subsystem handle you want to search.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Programmatic Model Editing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!