主要内容

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

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

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

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

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

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

获得 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 中推出