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.
Use the MATLAB language features and functions that code generation supports.
Use the functions and System objects that code generation supports.
C/C++ and GPU code generation support for functions that support half-precision inputs.
The code generator introduces modifications in the generated code to accomplish implicit expansion.
Implicit expansion in the generated code is enabled by default.