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 个评论

No. I can connect eveything . The model is working but only now I noticed that some wires of the model are red. Why?
But were they red from the beginning, when you set the model, or did they turn red after running the model?
Perhaps you have sample-time colors enabled?
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
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 Exchange 中查找有关 General Applications 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by