From MATLAB To Embedded C: News&Notes
From MATLAB To Embedded C: News&Notes
From MATLAB To Embedded C: News&Notes
MATLAB code for a Kalman filter with three states (inset) and
equivalent C code generated with the Embedded MATLAB subset.
The 17 lines of MATLAB code translate to 144 lines of C code,
including comments.
Figure 4. Simulink radar system model with the Embedded MATLAB function block
referencing the Kalman tracking filter.
Resources
2009 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See
www.mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be
4 trademarks or registered trademarks of their respective holders. 91786v00 11/09