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.
In the dashboard, navigate to the server machine for the new instance.
For example: Servers > localhost
Select Create New.
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.
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.
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:
Set the MATLAB® Runtime location. For more information, see Set MATLAB Runtime Location Using Dashboard.
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
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