Create Server Instance Using Admin Portal
R2026bAfter 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.
In the Admin Portal, 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_eastmay 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 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:
Set the MATLAB® Runtime location. For more information, see Set MATLAB Runtime Location Using Admin Portal.
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
Select the Configuration tab.
Expand the MATLAB Runtime area.
Replace the value
mCRrOOTuNsETin the mcr-root box with the location of your MATLAB Runtime installation. This table shows the default installation folders for R2026b.Platform MATLAB Runtime Installation Folder Windows® C:\Program Files\MATLAB\MATLAB Runtime\R2026bLinux® /usr/local/MATLAB/MATLAB_Runtime/R2026bmacOS /Applications/MATLAB/MATLAB_Runtime/R2026bClick Save.
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