Main Content

Code Generation

C/C++ and MEX code generation, fixing errors, behavioral verification

To generate C/C++ source code, static libraries, dynamic libraries, or executables from MATLAB® code, follow the Overview of Code Generation Using MATLAB Coder. Generate and verify code using the MATLAB Coder app or the codegen command.

To move through the fundamental steps of the code generation workflow, click on the boxes in the image below.

Categories