Engine Applications

You can call MATLAB® functions from your own external language programs. These programs are called engine applications. To create an engine application, write your program using MATLAB APIs then build using the mex command.

MATLAB supports engine applications written in C, C++, Java®, Fortran, or Python®.

To use C++ 11 programming features, see:

To write C/C++ engine applications based on the C Matrix API, see:

To write Java engine applications, see Calling MATLAB from Java.

To write Fortran engine applications, see:

To write Python engine applications, see Calling MATLAB from Python.


Do not mix functions in different APIs. For example, do not use functions in the C Matrix API with functions in the MATLAB Data API.

Related Topics