Simulink changes the block colors when running the simulation
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Katrine G. Andersen
am 3 Feb. 2016
Kommentiert: L Amy
am 4 Mär. 2017
I have a quite large model in Simulink. In some of the constant blocks I have written matrices. For some reason, when I run the simulation, the color of these matrix constant blocks changes to magenta. I have not defined colors for any of the blocks in my model, so I don't understand why only these blocks get a new color. After the blocks have become magenta, it is not possible to change the color back. Does anyone know how to prevent this from happening? I have tried to restart MATLAB and Simulink, but that doesn't seem to help. I am running MATLAB_R2015b.
1 Kommentar
L Amy
am 4 Mär. 2017
The color of the constant block represents its sample time. Here is a detailed documentation http://blogs.mathworks.com/simulink/2008/10/24/r2008b-simulink-sample-time-colors/
Akzeptierte Antwort
Kiran
am 9 Feb. 2016
Here is the documentation link that address this:
Also, You can refer following discussion on MATLAB answers. http://in.mathworks.com/matlabcentral/answers/62158-change-simulink-block-colors-display-matlab-function
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!