Specify the MATLAB Runtime for a Server Instance

To specify the installed location of the MATLAB® Runtime for your server instance:

  1. If the server instance is running, stop it.

  2. Open the configuration file for the instance in a text editor.

    The configuration file is located at instanceRoot/config/main_config.

  3. Locate the entry for the mcr_root property.

    --mcr-root mCRuNsETtOKEN
  4. Modify the mcr_root property to point to the installed MATLAB Runtime you want to work with.

    For example:

    --mcr-root C:\Program Files\MATLAB\MATLAB Runtime\vnnn

      Note:   You must specify the version number of the MATLAB Runtime (vnnn). MATLAB Runtime versions you specify must be compatible with MATLAB Production Server™.

  5. Restart the server instance.

Was this topic helpful?