Find the name of last inport in sub-system
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Subhash Bhashakhetre
le 25 Fév 2020
Réponse apportée : Monika Jaskolka
le 26 Fév 2020
Is there any way to get the name of last inport in sub-system using matlab code?
0 commentaires
Réponse acceptée
Monika Jaskolka
le 26 Fév 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!