主要内容

本页采用了机器翻译。点击此处可查看英文原文。

webapps-setup

WindowsLinuxmacOS 系统上,从命令行设置 MATLAB Web App Server

说明

webapps-setup 设置 MATLAB® Web App Server™ 以供当前计算机使用。

示例

webapps-setup [--version | -v] 返回已安装的 MATLAB Web App Server 的版本。

示例

webapps-setup [--help | -h] 返回命令行帮助。

示例

示例

设置 MATLAB Web App Server

要设置服务器,请在系统命令行中输入:

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

获得 MATLAB Web App Server 版本

要获取已安装的服务器版本,请在系统命令行中输入:

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

您可以使用语法的缩写形式获取相同的信息。

webapps-setup -v

获取命令行帮助

要获取帮助,请在系统命令行中输入:

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

您可以使用语法的缩写形式获取相同的信息。

webapps-setup -h

详细信息

全部折叠

版本历史记录

在 R2020a 中推出