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 Ansichten (letzte 30 Tage)
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 :)

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 1 Mär. 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 Kommentare
Fangjun Jiang
Fangjun Jiang am 3 Mär. 2023
I am not sure what is the question. Please ask a separate question and explain it.
Saba
Saba am 3 Mär. 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by