Why are subsystems highlighted in different color after simulation

4 vues (au cours des 30 derniers jours)
Neelabh Jyoti Saharia
Neelabh Jyoti Saharia le 14 Fév 2024
Réponse apportée : Paul le 14 Fév 2024
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 !

Réponse acceptée

Paul
Paul le 14 Fév 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?

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by