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.

Note

Starting in R2022b, the Python client library will not support Python 2.7. If you want to use Python 2.7 to develop client applications, you can continue using the R2022a version of the Python client library in future releases.

Classes

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

Topics

Create Applications

Data Conversion

Troubleshooting