Main Content

Create Server Instance Using Admin Portal

R2026b

After you set up and log in to the Admin Portal in an on-premises server instance, you can create a server instance. For details on setting up the Admin Portal, see Set Up and Log In to MATLAB Production Server Admin Portal.

  1. In the Admin Portal, navigate to the server machine for the new instance.

    For example: Servers > localhost

  2. Select Create New.

  3. In the Name field, enter a name for the instance.

    • The name can be any combination of characters and numbers without spaces.

    • The name indicates the purpose of the server. For example, a server instance hosting trading functions for use by east coast traders could be named trading_east.

    • It must be unique to the server machine.

  4. In the Description field, provide an optional description for the server instance.

    The description describes the function of the server instance. For example, the description for trading_east may be:

    Instance hosting arbitrage functions joe, fred, and arlo. This instance 
    uses strong encryption, and access to the functions is limited to a 
    select group of clients.
  5. Click Create.

The new server instance is added to the Admin Portal in a stopped state. You must manually start it before it can process requests.

Note

To start your instance, you will need to complete two additional steps:

  1. Set the MATLAB® Runtime location. For more information, see Set MATLAB Runtime Location Using Admin Portal.

  2. Specify license information. For more information, see Specify Server Instance License Options Using Admin Portal.

Failure to complete these steps will generate errors.

Set MATLAB Runtime Location

  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