To specify the installed location of the MATLAB® Runtime for your server instance:
If the server instance is running, stop it.
Open the configuration file for the instance in a text editor.
The configuration file is located at .instanceRoot/config/main_config
Locate the entry for the mcr_root property.
--mcr-root mCRuNsETtOKEN
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
You must specify the version number of
the MATLAB Runtime (v). MATLAB Runtime versions
you specify must be compatible with MATLAB
Production Server™.nnn
Restart the server instance.