Calling MATLAB from C

Write C programs that work with MATLAB® R2017b and earlier, using mxArray

Note

Functions in the C APIs work with the MATLAB mxArray data structure, which is defined in the C Matrix API. To write applications using modern C++ features instead, see Calling MATLAB from C++.