Main Content

Python with MATLAB

Directly call Python® library functionality from MATLAB® or write Python programs that work with MATLAB

To access Python libraries or execute Python statements in the Python interpreter directly from MATLAB, see Call Python from MATLAB.

To call MATLAB as a computational engine, use the MATLAB Engine API for Python. For more information, see Call MATLAB from Python. The engine supports the reference implementation (CPython).

For more information, see Versions of Python Compatible with MATLAB Products by Release.

Categories