Get selected objects (simulink)
Mostrar comentarios más antiguos
Hi, when I want to run a script on a selected simulink object, I use "gca" to get its handle. If I select many objects, "gca" return only the last selected. Ho can I get handles of ALL selected objects?
Thanks Adriano
Respuesta aceptada
Más respuestas (1)
Gaganjyoti Baishya
el 21 de Jun. de 2020
0 votos
To get an array of all selcted blocks use find_system(bdroot, 'Selected', 'on');
1 comentario
Joe Rustan
el 3 de Nov. de 2022
Is there a way to get just the currently selected signal line coming from/to a block? Thanks.
Categorías
Más información sobre Communication in Simulink en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!