Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

C++ Shared Library Integration

Integrate packaged MATLAB® functions into C++ applications

MATLAB Compiler SDK™ enables you to create C++ shared libraries from MATLAB functions. You have two options to create shared libraries:

  • Create C++ shared libraries that use the mwArray API.

  • Create C++ shared libraries that use the MATLAB Data API.

Shared libraries that use the mwArray API support only C++03 functionality.

Shared libraries that use the MATLAB Data API support C++11 functionality.

Note

The MATLAB Data API was introduced in R2017b.