Main Content

Header File and Dynamic Shared Library File on macOS

This example creates a MATLAB® interface to a C++ library matrixOperations for macOS. The library is defined by header file matrixOperations.hpp and dynamic shared library file libmwmatrixOperations.dylib.

MATLAB provides these files in this folder:

fullfile(matlabroot,"extern","examples","cpp_interface");

Use these steps to create a matrixOperations interface for macOS.

Related Topics