Main Content

Set MATLAB Runtime Location Using Admin Portal

R2026b

After you create an on-premises MATLAB® Production Server™ instance using the Admin Portal, 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.To specify the location of the MATLAB Runtime installation by using the Admin Portal, follow these steps.

  1. Select the Configuration tab.

  2. Expand the MATLAB Runtime area.

  3. Replace the value mCRrOOTuNsET in the mcr-root box with the location of your MATLAB Runtime installation. This table shows the default installation folders for R2026b.

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

  4. Click Save.

  5. Start or restart the server instance.

If you do not set the location of the MATLAB Runtime, the portal displays 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 Procedures