Why are subsystems highlighted in different color after simulation

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

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 Simulink in Help Center and File Exchange

Asked:

on 14 Feb 2024

Answered:

on 14 Feb 2024

Community Treasure Hunt

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

Start Hunting!