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 次查看(过去 30 天)
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 :)

采纳的回答

Fangjun Jiang
Fangjun Jiang 2023-3-1
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 个评论
Saba
Saba 2023-3-3
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

请先登录,再进行评论。

更多回答(0 个)

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by