Find the name of last inport in sub-system
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Subhash Bhashakhetre
am 25 Feb. 2020
Beantwortet: Monika Jaskolka
am 26 Feb. 2020
Is there any way to get the name of last inport in sub-system using matlab code?
0 Kommentare
Akzeptierte Antwort
Monika Jaskolka
am 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!