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.

Réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 22 Juil 2013
Modifié(e) : Azzi Abdelmalek le 22 Juil 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 commentaires

chef13
chef13 le 22 Juil 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 le 22 Juil 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 le 22 Juil 2013
Perhaps you have sample-time colors enabled?
Shivashis Sahoo
Shivashis Sahoo le 16 Déc 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 le 16 Déc 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Modeling dans Centre d'aide et File Exchange

Produits

Tags

Question posée :

le 22 Juil 2013

Commenté :

le 16 Déc 2020

Community Treasure Hunt

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

Start Hunting!

Translated by