Clear Filters
Clear Filters

How can I use the 'imufilter' system object in Simulink?

2 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 11 Apr 2024
Edited: MathWorks Support Team on 22 Apr 2024
From R2023b, you can use the Simulink block of 'IMU Filter'. More information on the 'IMU Filter' can be found by referencing the link below:
Before R2023b, the recommended workflow for using 'imufilter' in Simulink is to include it in a 'MATLAB Function' block. The inputs to the 'imufilter' object can be passed in as inputs to the 'MATLAB Function' block. It will be necessary to call 'compact' on the quaternion object produced by the filter before passing it to the output of the function block. 
More information on implementing MATLAB functions in the 'MATLAB Function' block can be found by referencing this link:

More Answers (1)

Vivek
Vivek on 25 Jan 2024
Hi,
We have a Simulink block of IMU Filter R2023b onwards, you can use it.

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!