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
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.
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 API.
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.