Simulink Red Wires. Why?

Hi. I´m using SIMULINK on Matlab r2013a.
I would like to understand why some wires of my model are red.
Can you help me?
Fab.

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 7 月 22 日
編集済み: Azzi Abdelmalek 2013 年 7 月 22 日

0 投票

This happen when two block can not be connected. Maybe you are using simscape where certain component can not be directly connected.

5 件のコメント

chef13
chef13 2013 年 7 月 22 日
No. I can connect eveything . The model is working but only now I noticed that some wires of the model are red. Why?
David Sanchez
David Sanchez 2013 年 7 月 22 日
But were they red from the beginning, when you set the model, or did they turn red after running the model?
Kaustubha Govind
Kaustubha Govind 2013 年 7 月 22 日
Perhaps you have sample-time colors enabled?
Shivashis Sahoo
Shivashis Sahoo 2020 年 12 月 16 日
This problem happened with me also I was trying one example from the mathworks documentation and after running the model connection between the lookuptable and stateflow chart became red.But yeah I can view the output.I don't know why
Shivashis Sahoo
Shivashis Sahoo 2020 年 12 月 16 日
Okay yes you were right ! @Kaustubha Govind It was due to sample-time in my case , I had the colors enabled. Thank you so much.

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

カテゴリ

ヘルプ センター および File ExchangeGeneral Applications についてさらに検索

製品

タグ

質問済み:

2013 年 7 月 22 日

コメント済み:

2020 年 12 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by