Main Content

Language, Function, and Object Support

MATLAB® language features, functions, classes, and System objects supported for C and C++ code generation

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.