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 Generate C/C++ Code From MATLAB Code Using MATLAB Coder.
Generate and verify code using the MATLAB
Coder™ app or the codegen
command.
Categories
- Generating Code
Generate code and build standalone libraries and executables
- MATLAB Code Analysis
Identify and fix issues in MATLAB code that prevent C/C++ code generation
- Input Specification
Specify properties of MATLAB function input variables to enable code generation
- External Code Integration
Call external code from MATLAB code
- Build Configuration
Configuration of build settings such as output file name, location, type, language
- Code Verification
Behavioral verification of generated code, traceability, code generation reports
- Code Replacement
Customize code generated from MATLAB code using a code replacement library
- Generating and Calling Reentrant Code
Generate and call reentrant code for single or multithreaded environments