MATLAB to C Made Easy

Bill Chou, MathWorks

In this session, we demonstrate the workflow for generating readable and portable C code from your MATLAB algorithms using MATLAB Coder. Using the command line or the graphical project management tool, you can introduce implementation requirements to your MATLAB algorithms and generate readable source code, a standalone compiled executable, or a library that can be shared across your organization.

We also explore how you can automatically generate MEX functions to verify the behavior of the generated code back in MATLAB or to accelerate computationally intensive portions of your MATLAB code by running it at compiled speed.

Product Focus

  • MATLAB Coder

Recorded: 28 Mar 2012