MATLAB: Sensor Fusion using Kalman Filter + Simulink

kalman filterMATLABsensor fusionsimulink

I am trying to simulate an example explained on the website https://home.wlu.edu/~levys/kalman_tutorial/ Part 14. On this example, the author is fusion two noisy temperature measurements in order to get a filtered one using Kalman filters.
The example is simple and very well done by the author but I am facing some difficulties to implement that on Simulink.
Here is a picture of my model (I also attached the slx file):
And this is the error:
I appreciate any help !! Thanks !!

Best Answer

Kalman filter block doesn't have the capability to do sensor fusion. Instead of Kalman filter block use Extended kalman filter (EKF). Multi-sensor example : this example showcases how extended kalman filter is used for sensor fusion.
Related Question