Contenuto principale

webapps-setup

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

Description

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.

example

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

Enter the license server (port_number@license_server_name) and/or the license file.
You can also skip this step and configure the license later by executing: webapps-config
>

Specify an existing user account to run the server service, or use the default user: MwWebAppServerR2026a.
>

Specify an existing user account to run the apps service, or use the default user: MwWebAppWorkerR2026a.
>


A compatible MATLAB Runtime installation was not found in the default installation location for this system.
Download the MATLAB Runtime from https://www.mathworks.com/products/compiler/matlab-runtime.html or configure an existing MATLAB Runtime by executing: webapps-runtime
MATLAB Web App Server services have been successfully registered.

Setup complete.
Apps Folder: C:\ProgramData\MathWorks\webapps\R2026a\apps
Logs Folder: C:\ProgramData\MathWorks\webapps\R2026a\logs

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

Version History

Introduced in R2020a