There are two versions of the C Matrix API.
The interleaved complex API contains the C Matrix API functionality as of MATLAB R2018a. For more information, see MATLAB Support for Interleaved Complex API in MEX Functions.
The separate complex API contains the C Matrix API functionality as of MATLAB R2017b.
For examples using these library functions, see:
The C Matrix API is not compatible with the MATLAB Data API, which supports C++11 features. You cannot use C Matrix API functions with functions in the C++ MEX Applications or MATLAB Engine API for C++.