Main Content

Limitations to MATLAB Engine API for Python

The MATLAB® Engine API does not support these features.

  • The engine cannot start or connect to MATLAB on a remote machine.

  • Python® keyword arguments cannot be input arguments to MATLAB functions called with the engine. The engine passes only positional arguments to MATLAB functions.

  • The size of data arrays passed between Python and MATLAB is limited to 2 GB. This limit applies to the data plus supporting information passed between the processes.

  • A recursive data structure cannot be passed as an input argument to a MATLAB function, or put into an engine workspace. (A recursive data structure is a Python data structure that includes itself as a value.)

The MATLAB Engine API does not support these Python types.

Related Topics