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 Code Generation Workflow.
Generate and verify code using the MATLAB Coder™ app or the codegen
command.
- MATLAB Code Analysis
Prepare MATLAB algorithm for code generation,
fix errors, verify behavior using generated MEX function
- Input Specification
Input parameter type, size, complexity; constants,
variable-size inputs, global variables
- Build Configuration
Configuration of build settings such as output file
name, location, type, language
- Custom Toolchain Registration
Register and use third-party software build toolchains
to create executables and libraries
- Generating Code
How to generate code and build standalone libraries
and executables
- 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
- External Code Integration
How to call external code from MATLAB code
- Code Verification
Behavioral verification of generated code, traceability,
code generation reports