Main Content

Create Server Instance Using Dashboard

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

  1. In the dashboard, 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 dashboard 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 Dashboard.

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

Failure to complete these steps will generate errors.

Set MATLAB Runtime Location

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

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

  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