In Simulink, is there a way to highlight a specific part of a circuit with a different coloured circuit lines
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gokul Murali
el 19 de Jul. de 2018
Respondida: Gokul Murali
el 20 de Jul. de 2018
In Simulink, is there a way to highlight a specific part of a circuit with a different coloured circuit lines
0 comentarios
Respuesta aceptada
Christopher Wallace
el 19 de Jul. de 2018
Yes, you can use the 'hilite_system' function.
If you want to highlight only pieces of the model you selected you would first need to find the handles for each block and line. This can be done by using 'find_system'.
Example code for highlighting a group of blocks and lines you've selected:
selectedBlocks = find_system(gcs, 'SearchDepth', 1, 'FindAll', 'on', 'Selected', 'on');
hilite_system(selectedBlocks);
Más respuestas (1)
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!