Simulink changes the block colors when running the simulation

32 ビュー (過去 30 日間)
Katrine G. Andersen
Katrine G. Andersen 2016 年 2 月 3 日
コメント済み: L Amy 2017 年 3 月 4 日
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 件のコメント
L Amy
L Amy 2017 年 3 月 4 日
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/

サインインしてコメントする。

採用された回答

Kiran
Kiran 2016 年 2 月 9 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by