Main Content

Python Client Programming

Create client programs in Python®

The MATLAB® Production Server™ Python client API enables developers to evaluate MATLAB functions on remote servers. The API lets you pass scalar values to a MATLAB function using native Python types. When working with arrays, you need to use the MATLAB array types provided in the matlab package. For information on using MATLAB arrays in Python, see matlab Python Module.

For an overview of how to create client programs, see Create a MATLAB Production Server Python Client.

For a complete example of a client implementation, see Create a Python Client.


Starting in R2022b, the Python client library no longer supports Python 2.7.


matlab.production_server.client.MWHttpClientPython object encapsulating a connection to a MATLAB Production Server instance


Create Applications

Data Conversion