Is there a way to run MATLAB Production Server as a Windows service?
2 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2013 年 10 月 24 日
編集済み: MathWorks Support Team
2023 年 12 月 24 日
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
2023 年 12 月 23 日
編集済み: 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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deployable Archive Creation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!