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 theCode Generation Workflow. Generate and verify code using theMATLAB Coder™app or thecodegen
command.
Frequently Viewed Topics
- MATLAB Code Analysis
Prepare MATLAB algorithm for code generation, fix errors, verify behavior using generated MEX function - 输入规格
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. - 生成代码
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
Was this topic helpful?