Core Management Tasks
Create and run a server that hosts deployable archives
You can create, start, and stop MATLAB® Production Server™ instances from the command line. Use the configuration properties to tailor each instance to a specific task or use. If you make changes to the configuration properties for a server that is already running, you must restart it for the changes to take effect.
Properties
| Server Configuration Properties | Configure MATLAB Production Server instance using configuration file or dashboard | 
Command-Line Scripts for Windows, Linux, and macOS
| mps-setup | Set up server environment from command line on Windows, Linux, and macOS systems | 
| mps-new | Create server instance from command line on Windows, Linux, and macOS systems | 
| mps-start | Start server instance from command line on Windows, Linux, and macOS systems | 
| mps-stop | Stop server instance from command line on Windows, Linux, and macOS systems | 
| mps-restart | Stop and start server instance from command line on Windows, Linux, and macOS systems | 
| mps-service | Create or modify Windows service for server instance from command line on Windows systems | 
| mps-cache | Control persistence service from command line on Windows, Linux, and macOS systems | 
Topics
Server Basics
- Server Overview
 The role of the server in MATLAB Production Server software.
- Create Server Instance Using Command Line
 Use the command line to create a server instance in an on-premises MATLAB Production Server installation.
- Verify Server Status
 Usemps-statusto check if the server is running.
- Deploy Archive to MATLAB Production Server
 Upload a deployable archive to a running server for clients to access.
Start and Stop Server Instance
- Start Server Instance Using Command Line
 Start an on-premises server instance using the command line.
- Configure Server Instance as Windows Service
 Start a MATLAB Production Server instance when the host machine boots up by making a server instance a Windows® service.
MATLAB Runtime Settings
- Specify Default MATLAB Runtime for New Server Instances
 Set the default MATLAB Runtime for new server instances in an on-premises installation.
- Specify MATLAB Runtime for Server Instance Using Command Line
 Specify the MATLAB Runtime installation location for your server instance.
- Support Multiple MATLAB Runtime Versions
 Configure the server to host deployable archives compiled using multiple MATLAB Runtime versions.
- Supported MATLAB Runtime Versions for MATLAB Production Server
 List of MATLAB Runtime versions that MATLAB Production Server supports.
Server Configuration
- Control Worker Restarts
 Set conditions determining when a server instance restarts worker processes.
- Impact of Server Configurations on Processing Asynchronous Requests
 Explanation of how server configurations impact execution of asynchronous requests.
- Isolate Deployable Archives in MATLAB Production Server
 Give deployable archives their own pools of workers.