Set up server environment
mps-setup [ sets the location
of the MATLAB® Runtime and other start up options for server instances.
mps-setup sets the default path to the MATLAB Runtime instances for all server instances that you create. This is equivalent to
mcr-root property in the
main_config configuration file of each server instance.
The MATLAB Runtime instance locations that you specify when running
mps-setup overwrite any previous values that might be present in
mcrroot file located in the
mps-setup from the
folder. Alternatively, add the
script folder to your system
PATH environment variable to run
mps-setup from any folder on your system.
If you run
mps-setup without arguments, it searches your
system for MATLAB Runtime instances that you may want to use with MATLAB
You can specify the path to the MATLAB Runtime as an argument when running
method is ideal for non-interactive (silent) installations.
Before creating server instances using the dashboard, you can run
mps-setup to specify the default MATLAB Runtime instances to use. This might be useful if you use a script to
launch the dashboard. Typically, you must use either the command line interface
or the dashboard to manage server instances.
Path to MATLAB Runtime if running
mps-setup non-interactively, by specifying the path to the MATLAB Runtime instance that you want MATLAB
Production Server to use.
mps-setup "C:\Program Files\MATLAB\MATLAB Runtime\mcrver"
mcrver is the version of the MATLAB Runtime to