Why are subsystems highlighted in different color after simulation

3 次查看(过去 30 天)
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 !

采纳的回答

Paul
Paul 2024-2-14
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?

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by