Documentation

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:

  • mwArray API — Supports only C++03 functionality.

  • MATLAB Data API — Supports only C++11 functionality.

MathWorks® recommends using the MATLAB Data API, which was introduced in R2017b.