Language, Function, and Object Support
You can generate efficient C/C++ code for most of the MATLAB language features. You can also generate code for a subset of MATLAB built-in functions and toolbox functions and System objects that you call from MATLAB code. For some supported functions and System objects, the reference pages have usage notes and limitations for C/C++ code generation.
- MATLAB Language Features Supported for C/C++ Code Generation
Use the MATLAB language features and functions that code generation supports.
- Functions and Objects Supported for C/C++ Code Generation
Use the functions and System objects that code generation supports.
- Half Precision Code Generation Support
C/C++ and GPU code generation support for functions that support half-precision inputs.