I noticed that some GoTo and From signals (input port no. 1) are not connected properly after the transfer (from one system to another system) of the model.

2 visualizaciones (últimos 30 días)
Moreover, I recieve this numbers and question marks on the singal lines, does anybody what they exactly mean?
How can I correct and connect these signals (input and output) which are exchanged between the blocks?
Thanks :)

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 1 de Mzo. de 2023
The number on top of the line indicates the size of the signal. "1" means a scalar. "2" means 1x2 or 2x1 vector. "?" means it can't determine the size of the signal, due to insufficient information and many time due to conflicting information.
Most likely the source of the problem is the MATLAB Function block. Open the editor, click "Edit data' button and specify the size of every input, output and data of the MATLAB Function block. Then hopefully, everywhere else the size can be properly determined. If not, you will need to continue looking at the most up or most down stream place where a "?" shows up. That is likely the source of the problem. The size info can be inherient or back propagated.
  3 comentarios
Fangjun Jiang
Fangjun Jiang el 3 de Mzo. de 2023
I am not sure what is the question. Please ask a separate question and explain it.
Saba
Saba el 3 de Mzo. de 2023
Thanks, I posted my question under this link:
https://de.mathworks.com/matlabcentral/answers/1922565-domain-error-to-compute-complex-results-from-real-x-use-sqrt-complex-x

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by