You must specify the installed location of the MATLAB® Runtime for your server instance for an on-premise installation of MATLAB Production Server™. For a server environment deployed in the cloud, the deployment specifies the MATLAB Runtime locations for you.
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
Locate the entry for the
mcr_root property to point to the
installed MATLAB Runtime you want to work with.
--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
Restart the server instance.