Set MATLAB Runtime Location Using Dashboard
After you create an on-premises MATLAB® Production Server™ instance using the dashboard, you can specify the location of MATLAB Runtime for the server to use.
If you use the command line to manage your on-premises server instance, to specify the location of MATLAB Runtime, see Specify MATLAB Runtime for Server Instance Using Command Line.
In the dashboard, select the server instance from the leftmost navigation pane.
For example: Servers > localhost > myinstance
Select the Settings tab.
Expand the Core area.
Replace the value
mCRrOOTuNsET
in the field MATLAB Runtime with the location of your MATLAB Runtime. For example, this table shows the default installation folders for R2024b.Platform MATLAB Runtime Installation Folder Windows® C:\Program Files\MATLAB\MATLAB Runtime\R2024b
Linux® /usr/local/MATLAB/MATLAB_Runtime/R2024b
macOS /Applications/MATLAB/MATLAB_Runtime/R2024b
Click Save.
Start or restart the server instance.
If you do not set the location of the MATLAB Runtime, you will get the following error message :
Instance cannot be started: please update the MATLAB Runtime option in instance settings by replacing the "mCRrOOTuNsET" with the full path to MATLAB runtime directory