Main Content

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:

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

  • mwArray API — Supports C++03 functionality.

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