Create Server Instance Using Dashboard - MATLAB & Simulink (original) (raw)
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 fortrading_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.
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 forR2025a.Platform MATLAB Runtime Installation Folder Windows® C:\Program Files\MATLAB\MATLAB Runtime\R2025a Linux® /usr/local/MATLAB/MATLAB_Runtime/R2025a macOS /Applications/MATLAB/MATLAB_Runtime/R2025a - 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