Install the MATLAB Production Server Python Client
The MATLAB®
Production Server™ client APIs are available for download at MATLAB Production Server Client Libraries. In an on-premises MATLAB
Production Server installation, the client APIs are located in
, where
MPS_INSTALL
/client$MPS_INSTALL
is the MATLAB
Production Server installation location.
Supported Python Interpreters
For information about versions of Python® that the MATLAB Production Server Python client supports, see Product Requirements & Platform Availability for MATLAB Production Server.
Install from PyPI
You can install the MATLAB Production Server Python client library from PyPI, the Python package index, at matlab-prodserver-client · PyPI. To install it, run
python -m pip install matlab-prodserver-client~=yy.r
Where yy
is the last two digits of the year of the corresponding
MATLAB release, and r
is the biannual release (1 for
a
or 2 for b
).
Example:
python -m pip install matlab-prodserver-client~=24.2
Install from Setup Script
As an alternative to installing from PyPI, you can install from a setup script. The MATLAB Production Server Python client provides a standard Python setup script. This script installs the required modules into your Python environment.
Navigate to the Python client API folder.
Example 1. UNIXcd MPS_INSTALL/client/python
Example 2. Windowscd MPS_INSTALL\client\python
Install the client. Verify that you have write and execute permissions in the directory where you run the script.
python -m pip install .