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.

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 22 Lug 2013
Modificato: Azzi Abdelmalek il 22 Lug 2013

0 voti

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

5 Commenti

chef13
chef13 il 22 Lug 2013
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 il 22 Lug 2013
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 il 22 Lug 2013
Perhaps you have sample-time colors enabled?
Shivashis Sahoo
Shivashis Sahoo il 16 Dic 2020
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 il 16 Dic 2020
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.

Accedi per commentare.

Categorie

Scopri di più su Modeling in Centro assistenza e File Exchange

Prodotti

Tag

Richiesto:

il 22 Lug 2013

Commentato:

il 16 Dic 2020

Community Treasure Hunt

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

Start Hunting!

Translated by