Main Content

webapps-setup

Set up MATLAB Web App Server from command line on Windows, Linux, and macOS systems

Since R2020a

Description

example

webapps-setup sets up the MATLAB® Web App Server™ for use on the current machine.

example

webapps-setup [--version | -v] returns the version of MATLAB Web App Server installed.

example

webapps-setup [--help | -h] returns command-line help.

Examples

Set Up MATLAB Web App Server

To set up the server, at the system command line, type:

webapps-setup
This utility registers the MATLAB Web App Server services with the operating system.

MATLAB Web App Server requires registering two services for security purposes:
- A service to run the server
- A service to run the apps

As what user do you want to run the server service? The default user is: MwWebAppServerR2024a. >

As what user do you want to run the apps service? The default user is: MwWebAppWorkerR2024a. >

The following compatible MATLAB Runtime(s) were found on this system in the default installation location:
C:\Program Files\MATLAB\MATLAB Runtime\R2024a

Are these the MATLAB Runtime(s) you want MATLAB Web App Server to use [y]/n?y
MATLAB Web App Server services have been successfully registered.

To start the server, execute: webapps-start
To change the server configuration, execute: webapps-config

Get Version of MATLAB Web App Server

To get the version of server that is installed, at the system command line, type:

webapps-setup --version
MATLAB Web App Server (R2020a Release)

You can get the same information by using the abbreviated form of the syntax.

webapps-setup -v

Get Command-Line Help

To get help, at the system command line, type:

webapps-setup --help
Usage:
  webapps-setup -h [ --help ]       Display this help message
  webapps-setup -v [ --version ]    Display the version of MATLAB Web App Server
  webapps-setup                     Setup MATLAB Web App Server

You can get the same information by using the abbreviated form of the syntax.

webapps-setup -h

More About

collapse all

MATLAB Web App Server Command-Line Script Location

The command-line scripts are located in the script folder in your MATLAB Web App Server installation folder. For instance, the default locations for R2024a are as follows:

Operating SystemDefault Location of Command-Line Scripts

Windows® (Administrator)

C:\Program Files\MATLAB\MATLAB Web App Server\R2024a\script

Linux® (sudo)

/usr/local/MATLAB/MATLAB_Web_App_Server/R2024a/script

macOS (Intel® processor) (sudo)

/Applications/MATLAB/MATLAB_Web_App_Server/R2024a/script

Version History

Introduced in R2020a