フィルターのクリア

Invalid dimensions encountered while propagating dimensions from output port of Mux to...

3 ビュー (過去 30 日間)
Hey, I'm building a Two phase IM. In one of the subsystems I have a Mux with 4 inputs and it's output connects to the two Fcn blocks which gives a scalar quantity. When I run this system it gives me this error 'Invalid dimensions encountered while propagating dimensions from output port 1 of 'TPIM/Krause Model/Subsystem/Mux2' to input port 1 of 'TPIM/Krause Model/Subsystem/Fmd1'. During propagation, we are attempting to unify the dimensions of the multiplexed signal with dimensions {1,1,1,1} to obtain the dimensions 1' where Fmd1 is one of the Fcn blocks.

採用された回答

Guy Rouleau
Guy Rouleau 2012 年 3 月 22 日
This sort of error can happen for 2 reasons: Simulink misses information to propagate dimensions properly OR the dimensions you specified are wrong.
To debug, I recommend inserting Signal Specification blocks between your blocks and specify what you think the dimensions should be. It should help determining where the problem comes from.
  4 件のコメント
Guy Rouleau
Guy Rouleau 2012 年 3 月 26 日
K E - I am working on gathering and documenting my "debugging tricks"... you ill definitely see a blog post on that some day
K E
K E 2012 年 3 月 27 日
Christmas in March! Glad to hear it.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by