Main Content

Choosing Engine Applications

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

MATLAB的年代upports 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.

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

To write Java engine applications, seeCalling MATLAB from Java.

To write Fortran engine applications, see:

To write Python engine applications, seeCalling MATLAB from Python.

Related Topics