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 件のコメント
Fangjun Jiang
Fangjun Jiang 2023 年 3 月 3 日
I am not sure what is the question. Please ask a separate question and explain it.
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 件)

カテゴリ

Help Center および File ExchangeSignal Attributes and Indexing についてさらに検索

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by