To create a new on-premise MATLAB®
Production Server™ instance and register it as a Windows® service, use the mps-new
command with the --service
option.
mps-new /tmp/server_1 --service
You can change the name, description, and user for the Windows service from the defaults using optional flags to the mps-new
command.
The Windows service created for the server instance does not start automatically.
You can edit the configuration for the instance before starting it using the
mps-start
command.
The Windows service created for the server instance is configured to start when the machine starts. When the host machine is restarted, the server instance restarts with it.
This feature is available only for an on-premise installation of MATLAB Production Server.
To create a new Windows service for an existing on-premise MATLAB
Production Server instance, use the mps-service
command with the
create
option.
mps-service -C /tmp/server_1 create
You can change the name, description, and user for the Windows service from the defaults using optional flags to the mps-service
command.
The Windows service created for the server instance is configured to start when the machine starts. When the host machine is restarted, the server instance restarts with it.