Invalid dimension specified for input port.

29 ビュー (過去 30 日間)
Jehan Jayanetti
Jehan Jayanetti 2026 年 1 月 7 日 12:02
編集済み: Jehan Jayanetti 2026 年 1 月 8 日 10:21
I am attempting to extend one of the example 2D Kalman filter Simulink models to 3D, but am receiving the following error:
Invalid dimension specified for input port.
Please advise.

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2026 年 1 月 7 日 13:23
編集済み: Fangjun Jiang 2026 年 1 月 7 日 14:32
Change the gain parameter of the feedback Gain block. Make it 3 values or 1 value.
  3 件のコメント
Fangjun Jiang
Fangjun Jiang 2026 年 1 月 7 日 15:53
Different model, different cause.
In this model, every where it is expecting the size of 2 (x y acceleration, velocity, position). What is the point of changing one of the input port to be size of 3 ???
Jehan Jayanetti
Jehan Jayanetti 2026 年 1 月 8 日 10:21
編集済み: Jehan Jayanetti 2026 年 1 月 8 日 10:21
Thank you for this answer. I have made a modification to the XY acceleration model to accept 3 inputs and thus widen the bus length to 3. PSA a screenshot of a new error resulting from the modification.

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

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by