Documentation Center

  • Trial Software
  • Product Updates

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

MATLAB® supports the following language features in generated code:

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

MATLAB does not support the following features in generated code:

  • Anonymous functions

  • Cell arrays

  • Java®

  • Nested functions

  • Recursion

  • Sparse matrices

  • try/catch statements

Was this topic helpful?