Main Content

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.

  1. In the dashboard, select the server instance from the leftmost navigation pane.

    For example: Servers > localhost > myinstance

  2. Select the Settings tab.

  3. Expand the Core area.

  4. 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.

    PlatformMATLAB Runtime Installation Folder
    Windows®C:\Program Files\MATLAB\MATLAB Runtime\R2024b
    Linux®/usr/local/MATLAB/MATLAB_Runtime/R2024b
    macOS/Applications/MATLAB/MATLAB_Runtime/R2024b

  5. Click Save.

  6. 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

Related Topics