How to highlight segment signal line in Simulink?

2 views (last 30 days)
Hi all,
I use find_system function for find all signal in untitled model as:
>> lines = find_system('untitled','FindAll','on','type','line')
lines =
195.0822
196.0822
194.0822
204.0823
193.0822
Now I want to highlight 1 of segment as:
But, when I use hilite_system function, it alway highlight all of segments.
hilite_system(lines(i)) % i = from 1 to 5
So, how can I highlight 1 segment only?
Thank you so much.

Answers (0)

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!