In Simulink, is there a way to highlight a specific part of a circuit with a different coloured circuit lines

2 次查看(过去 30 天)
In Simulink, is there a way to highlight a specific part of a circuit with a different coloured circuit lines

采纳的回答

Christopher Wallace
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);

更多回答(1 个)

Gokul Murali
Gokul Murali 2018-7-20
Thank you Christopher, I was able to do it...
Thanks a ton

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by