| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Embedded MATLAB |
| Contents | Index |
Here is a flow chart showing the tasks for generating C code with the Embedded MATLAB subset from existing MATLAB code:

To get you started quickly, this tutorial guides you through hands-on exercises for each task in the flow chart. When you get to task 4, you might need to iterate between generating C code and elaborating your Embedded MATLAB compliant code. Elaboration is the process of refining the design of your M-code as you work toward producing the most efficient, embeddable C code.
To learn more about what to consider when converting M-code into embeddable C code, see Design Considerations for Code Generation.
To view the complete list of the best practices recommended in this tutorial, see Best Practices for Working with the Embedded MATLAB Subset.
To go straight to the tutorial, or to learn more about a task, click a highlighted activity box.
![]() | Generating C Code from MATLAB Code for Embedded Applications | Design Considerations for Code Generation | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |