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.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 22 Jul 2013
Edited: Azzi Abdelmalek on 22 Jul 2013

0 votes

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

5 Comments

chef13
chef13 on 22 Jul 2013
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.

Sign in to comment.

Categories

Find more on Modeling in Help Center and File Exchange

Products

Tags

Asked:

on 22 Jul 2013

Commented:

on 16 Dec 2020

Community Treasure Hunt

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

Start Hunting!