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

2 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2023-12-24
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:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deployable Archive Creation 的更多信息

产品


版本

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by