Accelerating the pace of engineering and science

Generate C Code from MATLAB Functions Using the Embedded MATLAB Subset

Houman Zarrinkoub, MathWorks

In this webinar we will demonstrate how to automatically generate C code from MATLAB functions. This capability is available for a subset of the MATLAB language called Embedded MATLAB®, and consists of more than 310 MATLAB operators and functions, 110 Fixed-Point Toolbox functions, and 35 Signal Processing Toolbox™ functions.

Algorithms that use Embedded MATLAB operators and functions can be compiled into efficient, numerically reliable C code for embedded applications.

You will learn how to use specific features of Fixed-Point Toolbox, Simulink, Real-Time Workshop, and related products to: 

•   Develop and validate MATLAB algorithms compliant with the Embedded MATLAB subset
•   Automatically generate C code from your compliant floating-point and/or fixed-point designs in MATLAB and Simulink
•   Integrate your algorithms as part of a larger system model in Simulink for real-time prototyping on a TI DSP

Product Focus

  • Fixed-Point Designer
  • Simulink Coder
  • Embedded Coder
  • Simulink
  • Stateflow

Recorded: 19 Nov 2009