What is the best way to implement my algorithm in Simulink ?

Eight ways to implement an Extended Kalman Filter as a Simulink block
2,7K Downloads
Aktualisiert 12. Okt 2023

best-way-to-implement-an-algorithm-in-simulink

Eight ways to implement an Extended Kalman Filter as a Simulink® block

View best-way-to-implement-an-algorithm-in-simulink on File Exchange

Open in MATLAB Online

This package contains some examples and a presentation (given at the International Conference on Robotics and Automation, Hong Kong, June 2014) discussing several possible ways of implementing an algorithm in Simulink.

Specifically, a simple Extended Kalman Filter based algorithm for attitude estimation is implemented in Simulink using S-functions (in C and MATLAB), System objects:tm:, S-Function Builder, Legacy Code Tool, and the MATLAB® function block (using both internal and external states).

Advantages and drawbacks of the different methods are discussed, and performance is then compared in several ways. First, the different models are simulated in Simulink, then, executable files generated from each models are executed both on an Intel laptop and on an Arduino Uno, with interesting results.

Zitieren als

Giampiero Campa (2024). What is the best way to implement my algorithm in Simulink ? (https://github.com/giampy1969/best-way-to-implement-an-algorithm-in-simulink/releases/tag/v1.4.0), GitHub. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2014a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.4.0

See release notes for this release on GitHub: https://github.com/giampy1969/best-way-to-implement-an-algorithm-in-simulink/releases/tag/v1.4.0

1.3.0.0

Updated just a few slides.

1.1.0.1

Updated license

1.1.0.0

Streamlined signal generator
Included the Legacy Code Tool method in the final on-board embedded code comparison.

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.