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 views (last 30 days)
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 :)

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 1 Mar 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 Comments
Saba
Saba on 3 Mar 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

Sign in to comment.

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!