Call MATLAB from C++
The MATLAB Engine API for C++ provides an interface between the C++ programming language and MATLAB. This API enables C++ programs to launch MATLAB, evaluate MATLAB functions with arguments, and exchange data between MATLAB and C++ programs.
The MATLAB Engine API for C++ uses the MATLAB Data API for C++, which provides a way for applications running outside of MATLAB to work with MATLAB data through a language-neutral interface.
- Set Up and Build MATLAB C++ Engine Applications
Requirements and examples to build, run, and test MATLAB C++ engine applications
- Start MATLAB and Call Functions from C++ Applications
Start and connect to MATLAB, call MATLAB functions from C++ applications
- Data Exchange and Mapping with C++ Applications
Interact with MATLAB data from C++ applications
- C++ Engine API
Use the MATLAB C++ Engine API to call MATLAB from C++ programs