Each server instance that you create with MATLAB®
Production Server™ has its own configuration file that defines various server management
criteria. Use the
mps-setup command to set the default
MATLAB Runtime for all on-premise server instances that you create. The
mps-setup command line wizard searches your machine for installed
MATLAB Runtime instances and sets the default path to the MATLAB Runtime for all server instances.
If you do not have MATLAB Runtime installed on your machine, you must install it first. For more information, see Supported MATLAB Runtime Versions.
To set the default MATLAB Runtime:
Open a system command prompt with
From the command prompt, navigate to the MATLAB
script folder and run
Alternatively, add the
script folder to your system
PATH environment variable to run
from any folder on your system. The
script folder is located at
is the location
in which MATLAB
Production Server is installed. For example, on Windows®, the default location for the
script folder is
C:\Program Files\MATLAB\MATLAB Production
ver is the version of MATLAB
Follow the instructions in the command line wizard.
The wizard searches your system for installed MATLAB Runtime instances and displays them.
y to confirm or
n to specify a default
MATLAB Runtime for all server instances.
mps-setup cannot locate an installed MATLAB Runtime on your system, the wizard prompts you to enter a path name to a valid
You can also run
mps-setup without interactive command input for
silent installations. To do so, specify the path name of the MATLAB Runtime as a command line argument.
For example, on Windows, run the following at the system command prompt.
C:\>mps-setup "C:\Program Files\MATLAB\MATLAB Runtime\mcrver"
mcrveris the version of the MATLAB Runtime to use.