Which Code Generation Feature to Use
To... | Use... | Required Product | To Explore Further... |
---|---|---|---|
Generate MEX functions for verifying generated code |
| MATLAB® Coder™ | Try this in Accelerate MATLAB Algorithm by Generating MEX Function (MATLAB Coder). |
Produce readable, efficient, and compact code from MATLAB algorithms for deployment to desktop and embedded systems. | MATLAB Coder app | MATLAB Coder | Try this in Generate C Code by Using the MATLAB Coder App (MATLAB Coder). |
| MATLAB Coder | Try this in Generate C Code at the Command Line (MATLAB Coder). | |
Generate MEX functions to accelerate MATLAB algorithms | MATLAB Coder app | MATLAB Coder | See Accelerate MATLAB Algorithms (MATLAB Coder). |
| MATLAB Coder | ||
Integrate MATLAB code into Simulink® | MATLAB Function block | Simulink | Try this in Call MATLAB Function Files in MATLAB Function Blocks. |
Speed up fixed point MATLAB code |
| Fixed-Point Designer™ | Learn more in Code Acceleration and Code Generation from MATLAB (Fixed-Point Designer). |
Integrate custom C code into MATLAB and generate efficient, readable code |
| MATLAB Coder | Learn more in Call Custom C/C++ Code from the Generated Code (MATLAB Coder). |
Integrate custom C code into code generated from MATLAB |
| MATLAB Coder | Learn more in |
Generate HDL from MATLAB code | MATLAB Function block | Simulink and | Learn more at |