Invalid dimension specified for input port.
Show older comments
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.
Answers (1)
Fangjun Jiang
on 7 Jan 2026
Edited: Fangjun Jiang
on 7 Jan 2026
0 votes
Change the gain parameter of the feedback Gain block. Make it 3 values or 1 value.
3 Comments
Jehan Jayanetti
on 7 Jan 2026
Fangjun Jiang
on 7 Jan 2026
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
on 8 Jan 2026
Edited: Jehan Jayanetti
on 8 Jan 2026
Categories
Find more on State Estimation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!