Find the name of last inport in sub-system
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Subhash Bhashakhetre
el 25 de Feb. de 2020
Respondida: Monika Jaskolka
el 26 de Feb. de 2020
Is there any way to get the name of last inport in sub-system using matlab code?
0 comentarios
Respuesta aceptada
Monika Jaskolka
el 26 de Feb. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Programmatic Model Editing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!