Install a Server Instance as a Windows Service

Create a New Server Instance as a Windows Service

To create a new 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 is 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.

Make an Existing Server Instance a Windows Service

To create a new Windows service for an existing 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.

Was this topic helpful?