Main Content

Header and CPP Source Files

This example creates a MATLAB® interface to a C++ library declared in the header file matrixOperations.hpp and defined in the C++ source file matrixOperations.cpp.

MATLAB provides the source files in this folder:

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

Use these steps to create a matrixOperations interface for Windows®.

Related Topics