Specify the Default MATLAB Runtime for New Server Instances

Each server that you create with an on-premise installation of MATLAB® Production Server™ has its own configuration file that defines various server management criteria.

The mps-setup command line wizard searches for MATLAB Runtime instances and sets the default path to the MATLAB Runtime for all server instances you create.

To run the command line wizard, do the following after first downloading and performing the Download and Install the MATLAB Runtime.

  1. Ensure you are logged on with administrator privileges.

  2. At the system command prompt, run mps-setup from the script folder.

    Alternatively, add the script folder to your system PATH environment variable to run mps-setup from any folder on your system. The script folder is located at $MPS_INSTALL\script, where $MPS_INSTALL is the location in which MATLAB Production Server is installed. For example, on Windows®, the default location is C:\Program Files\MATLAB\MATLAB Production Server\ver\script\mps-setup.

    ver is the version of MATLAB Production Server to use.

  3. Follow the instructions in the command line wizard.

    The wizard will search your system and display installed MATLAB Runtime instances.

  4. Enter y to confirm or n to specify a default MATLAB Runtime for all server configurations created with MATLAB Production Server.

    If mps-setup cannot locate an installed MATLAB Runtime on your system, you will be prompted to enter a path name to a valid instance.

Run mps-setup in Non-Interactive Mode for Silent Install

You can also run mps-setup without interactive command input for silent installations.

To run mps-setup, specify the path name of the MATLAB Runtime as a command line argument. For example, on Windows:

mps-setup "C:\Program Files\MATLAB\MATLAB Runtime\mcrver"

mcrver is the version of the MATLAB Runtime to use.

See Also

Related Topics