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

5 ビュー (過去 30 日間)
In Simulink, is there a way to highlight a specific part of a circuit with a different coloured circuit lines

採用された回答

Christopher Wallace
Christopher Wallace 2018 年 7 月 19 日
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 日
Hi Christopher, could you further help me with this as I am unable to perform this operation

サインインしてコメントする。

その他の回答 (1 件)

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

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by