Choosing 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:
If your C engine applications must run in MATLAB R2017b or earlier, or if you prefer to work in the C language, then use functions based on the C Matrix API.
C MEX API (optional)
Caution
Do not mix functions in different C APIs. For example, do not use functions in the C Matrix API with functions in the MATLAB Data Array API.
To write Java engine applications, see Call MATLAB from Java.
To write Fortran engine applications, see:
To write Python engine applications, see Call MATLAB from Python.