extended kalman filter simulink block won't accept additional inputs

4 ビュー (過去 30 日間)
ofirmsh
ofirmsh 2022 年 8 月 27 日
回答済み: ofirmsh 2022 年 8 月 29 日
I'm using the EKF block in simulink, the block recives the current state vector (denoted on the block as y1) and outputs the state estomation (x_hat). inside the block itself you need to define a state function using a matlab .m file, if you define the state function to have more than one input then another input port shows up on the block, when I try to run the model with a the new input port connected to some constant value block then an error shows up saying the state function has an unsupplied input. I can't understand what I'm doing wrong, does anyone have any idea?
thanks alot in advance,
Ofir

採用された回答

ofirmsh
ofirmsh 2022 年 8 月 29 日
The problem was in another block in the model, I was calling my state transition func without giving it the right inputs inside a diffrent function.

その他の回答 (0 件)

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by