Why are subsystems highlighted in different color after simulation

3 views (last 30 days)
Hi everyone,
I was playing with the simulink examples and observed that after simulation, differents subsystems are highlighted with different colors. Please refer to the attached screenshot. Also the constant blocks are highlighted with a color. Could someone please explain what this might refer to?
Thanks !

Accepted Answer

Paul
Paul on 14 Feb 2024
Hi Neelabh,
It looks like it might be due to Sample Time Colors. Go to Debug -> Information Overlays and see if the Sample Time Colors option is selected. If it is, click to unselect, Update the diagram, and they colors should go away. Search the doc for Sample Time Colors for more info.
If it's not, which Simulink example is this?

More Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!