C Matrix API

Write C/C++ programs that work with the MATLAB® mxArray data structure

There are two versions of the C Matrix API.

For examples using these library functions, see:

Note

The C Matrix API is not compatible with the MATLAB Data API, which supports modern C++ features. You cannot use C Matrix API functions with functions in the C++ MEX Applications or MATLAB Engine API for C++.