Blue signal line style in Simulink (not related to Simscape)

24 visualizaciones (últimos 30 días)
Guillermo
Guillermo el 22 de Jun. de 2023
Comentada: Guillermo el 22 de Jun. de 2023
In a Simulink Model, a signal between two subsystems became blue, and the block that outputs this signal has also a blueish color.
I didn't realize what was the change made before this color appears (before, all cables were black as normal), so I can't figure out the meaning of this color:
Inside the block 1, no signal or subsystem is blue.
Clarify that this a Simulink signal, is not the blue corresponding to electrical domain of Simscape.
Thanks in advance!

Respuestas (1)

Neev
Neev el 22 de Jun. de 2023
Hey Guillermo
The change in colour of 'BH Position' wire from black to blue might be due to the fact that you might be outputing boolean value through that wire signal, so it is a type of simulink signal.
All boolean outputs via wires in the simulink models lead to colour change of wires from standard black to blue.
Hope I was able to clear your query:)
  1 comentario
Guillermo
Guillermo el 22 de Jun. de 2023
The data type of the signal is a normal double:
This how this output is calculated, from a multybody physical quantity representing angle:
The function Normalize does not change the data type, only multiplies by some constants.
Any idea of other possible causes? The whole model behaves perfectly but I would like to get to know the origin of this. Also, I need to take some screenshots of the model, and I don't like this blue cable (there is another subsystem with the same implementation and the cable is black :(

Iniciar sesión para comentar.

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by