webapps-setup
在 Windows、Linux 和 macOS 系统上,从命令行设置 MATLAB Web App Server
说明
示例
设置 MATLAB Web App Server
要设置服务器,请在系统命令行中输入:
webapps-setupThis 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 --versionMATLAB Web App Server (R2020a Release)
您可以使用语法的缩写形式获取相同的信息。
webapps-setup -v获取命令行帮助
要获取帮助,请在系统命令行中输入:
webapps-setup --helpUsage: 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 中推出