Is there a way to run MATLAB Production Server as a Windows service?

2 visualizzazioni (ultimi 30 giorni)
I am running MATLAB Production Server (MPS) on a Windows server.  I can create and start a server instance using the instructions in the User's Guide but the server instance stops when I log off the Windows server.  I need the server instance to remain running even when I am not logged on to the server, or after the server reboots.  Is there a way to run MPS as a Windows service?

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 23 Dic 2023
Modificato: MathWorks Support Team il 24 Dic 2023
Yes, it is possible to create a Windows service for your MPS instance via command-line when creating your instance, or you can add a Windows service for an existing instance.
This functionality does not exist for instances created through MPS dashboard.
If your instance was already created via command-line, you can add a Windows service for it by executing:
mps-service -C <path_to_instance> create
Or you can create a new instance with its own Windows service by executing:
mps-new <path_to_instance> --service
For more information, see:
Configure Server Instance as Windows Service
Also see page 36 of the MATLAB Production Server Guide pdf:
MATLAB Production Server Guide
This functionality was added in R2015a with the mps-service utility, but there is a different workflow to install a Windows Service for older releases of MATLAB Production Server. If you need support with a release of MPS older than R2015a, contact MathWorks Support:

Più risposte (0)

Categorie

Scopri di più su Deployable Archive Creation in Help Center e File Exchange

Prodotti


Release

R2014a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by