Server Management
Set up, configure, and manage MATLAB®
            Web App Server™
You can set up, configure, and manage MATLAB Web App Server using a command-line interface.
Command-Line Scripts for Windows, Linux, and macOS Systems
| webapps-appdir | Create folders for organizing web apps from the command line on Windows, Linux, and macOS systems | 
| webapps-config | Configure MATLAB Web App Server from the command line on Windows, Linux, and macOS systems | 
| webapps-containers | Setup environment to run MATLAB web apps in Docker containers on Linux systems | 
| webapps-cspolicy | Manage Content Security Policy (CSP) for web apps from the command line on Windows, Linux, and macOS systems | 
| webapps-restart | Restart MATLAB Web App Server service from the command line on Windows, Linux, and macOS systems | 
| webapps-runtime | Configure MATLAB Runtime for use with MATLAB Web App Server from the command line on Windows, Linux, and macOS systems | 
| webapps-secrets | Manage web app server secrets on Windows, Linux, and macOS systems | 
| webapps-setup | Set up MATLAB Web App Server from command line on Windows, Linux, and macOS systems | 
| webapps-start | Start MATLAB Web App Server service from the command line on Windows, Linux, and macOS systems | 
| webapps-status | Get status of MATLAB Web App Server at the command line on Windows, Linux, and macOS systems | 
| webapps-stop | Stop the MATLAB Web App Server service from the command line on Windows, Linux, and macOS systems | 
| webapps-uninstall | Uninstall MATLAB Web App Server services at the command line on Windows, Linux, and macOS systems | 
Topics
Set Up and Configure
- Set Up MATLAB Web App Server
 Prepare the MATLAB Web App Server for hosting web apps.
- Service Information, Groups, and Folder Locations
 Locate MATLAB Web App Server services, groups, and folder locations for your platform.
- Configure Server to Use MATLAB Runtime
 Configure server to use MATLAB Runtime.
- Audit Logging
 Record critical events and activities within the server.
Secure Access
- Enable SSL on MATLAB Web App Server
 Enable SSL access to the server.
- Authentication
 Configure authentication on MATLAB Web App Server.
- Role-Based Access
 Configure role-based access to the server.
- Policy-Based Access
 Configure policy-based access to the server.
- Handle Sensitive Information in Deployed Applications
 Use secrets to remove sensitive information from deployed code. (Since R2024a)
- Control Secrets Access in MATLAB Web App Server
 Use JSON policy files to configure secrets. (Since R2024a)
Customization and Inline Frame Embedding
- Customize MATLAB Web App Server Apps Home Page
 Change the title, background color, font type, and font size of the banner in the apps home page.
- Customize Web App Behavior Based on User
 Customize web app behavior based on logged-in user.
- Embed MATLAB Web App Using iframe HTML Element
 Learn how to embed a web app in another web page using aniframeHTML element.
- Exchange Data Between Custom Web Page and Embedded MATLAB Web App
 Learn how to exchange data between a custom web page and a MATLAB web app embedded within the web page.
- Light and Dark Modes for Web Apps
 Enable web apps to switch between light and dark modes based on user or system preferences.
- Custom URL Paths for Web Apps
 Set up custom URL paths to change the base URL of your web apps for use with reverse proxies.
Create, Deploy, and Run
- Create Web App
 Learn how to create a web app for deployment.
- Deploy Web App
 Learn how to deploy a web app.
- Run Web App
 Run and test web apps from a browser.
- Simple Mortgage Calculator Web App
 Try an example on how to create, deploy, and run a web app.
- Deploy Simulink Simulation Web App
 Try an example on how to create, deploy, and run a web app containing a Simulink® simulation.