Main Content

Functions and Objects Supported for C/C++ Code Generation

The MATLAB® Coder™ software supports many MathWorks® functions and objects. You can generate C/C++ source code, static libraries, dynamic linked libraries, and executables from MATLAB code that uses these functions and objects and use the generated code outside the MATLAB environment. These pages list the functions and objects that code generation supports:

On these pages, the Extended Capability notes and limitations icon The letter "i" inside a blue rectangle. indicates the functions and objects that have usage notes or limitations for code generation. To view these usage notes and limitations, click the icon to go to the Extended Capabilities section of the corresponding reference page. Then, expand C/C++ Code Generation.

For certain MathWorks functions, the code generator uses platform-specific precompiled libraries because these libraries are optimized for performance on those platforms. However, these precompiled libraries make the generated code less portable. If a MathWorks function uses precompiled libraries, the Extended Capabilities section of the function reference page describes this restriction. To configure the code generator to avoid calls to precompiled libraries when possible, set the configuration parameter Use precompiled libraries or the code configuration property UsePrecompiledLibraries.

See Also

Topics