Why am I getting a "Signal Dimension" error?

4 ビュー (過去 30 日間)
Ismaeel
Ismaeel 2017 年 2 月 25 日
コメント済み: Faouzi 2020 年 5 月 17 日
I am wondering why I get the following error message. There is no problem with the signal dimension as shown.Also, I am not using any Matlab-defined function. The block B includes a "Matrix Multiplier" and the rest are constant, gain, sum and integral blocks. The constant and gain are in the form of vectors or matrices but they do not violate matrix multiplication or summation rules regarding their dimension. Any idea? Thanks for your time and your reply
Error: "Unable to determine signal dimensions. There is a loop consisting of '....' that cannot be resolved because signal dimensions are defined by a cyclic relationship. Specifying the signal dimensions on Inport, Mux, Selector, Demuxes will help resolve signal dimensions in the loop. You can also use the Signal Specifications to define the signal dimensions."
  6 件のコメント
Ismaeel
Ismaeel 2017 年 2 月 26 日
編集済み: Ismaeel 2017 年 2 月 26 日
Thanks Walter for your time and your notice. Exactly as you pointed out, the problem was in subsystem B and I fixed it following your notice. I changed the setting of the first upper (Matrix Multiplier) block which has input from y3 as you mentioned from (Matrix(*)) to (Element-wise(.*)). I am really grateful to your help, thank you so much.
Ismaeel
Ismaeel 2017 年 2 月 26 日
編集済み: Ismaeel 2017 年 2 月 26 日
Please let me know how to make your answer as accepted. I cannot find that option.

サインインしてコメントする。

採用された回答

Walter Roberson
Walter Roberson 2017 年 2 月 26 日
I note that in Subsystem B that y3 is 1 x 4 but is received in the sum block as 4 x 1; I do not know at the moment if that would be a problem.
  1 件のコメント
Faouzi
Faouzi 2020 年 5 月 17 日
i have similar problem
look to my model
thanks for help

サインインしてコメントする。

その他の回答 (1 件)

Vadim Galkin
Vadim Galkin 2018 年 12 月 10 日
I have a similar problem, please check the model for a Signal dimensional error

カテゴリ

Help Center および File ExchangeConditionally Executed Subsystems and Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by