Main Content

PythonwithMATLAB

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, seeCall Python from MATLAB.

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

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

Categories