Simulink Implementation of Kalman Filter

Hello,
We are currently in the process of porting an existing m-file Kalman Filter into a Simulink model. We were able to do this successfully via an m-file s-function, but the hit to performance was pretty significant. Currently we are debating implementing the filter using native Simulink blocks, or creating a C++ s-function. In general, which would be more efficient with regards to run-time?
Thanks

回答 (1 件)

Honglei Chen
Honglei Chen 2015 年 6 月 25 日

0 投票

There is a Kalman filter block shipped with DSP System Toolbox, does it work for you?
HTH

1 件のコメント

schemp98
schemp98 2015 年 6 月 26 日
Thanks, but we would like to use our own Kalman filter, I really was interested in finding out if an "C++ S-Function" or a Simulink Block version (constructed with only the native library blocks) would be more computationally efficient

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

カテゴリ

ヘルプ センター および File ExchangeDSP System Toolbox についてさらに検索

質問済み:

2015 年 6 月 25 日

コメント済み:

2015 年 6 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by