MATLAB Language Features Supported for C/C++ Code Generation

MATLAB Features That Code Generation Supports

Code generation from MATLAB® supports the following language features:

MATLAB Language Features That Code Generation Does Not Support

Code generation from MATLAB does not support the following frequently used MATLAB constructs:

  • Anonymous functions

  • Categorical Arrays

  • Date and Time Arrays

  • Java®

  • Map Containers

  • Nested functions

  • Recursion

  • Sparse matrices

  • Tables

  • Time Series objects

  • try/catch statements

This list is not exhaustive. To see if a construct is supported for code generation, see MATLAB Features That Code Generation Supports.

Was this topic helpful?