Main Content

PythonClient Programming

Create client programs in Python®

TheMATLAB®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 thematlabpackage. For information on using MATLAB arrays in Python, seematlab Python模块.

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

For a complete example of a client implementation, seeCreate 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.MWHttpClient Pythonobject encapsulating a connection to aMATLABProduction Serverinstance

Topics

Create Applications

Data Conversion

Troubleshooting