Main Content

このページは機械翻訳を使用して翻訳されました。元の英語を参照するには、ここをクリックします。

webapps-setup

WindowsLinux、および macOS システムのコマンドラインから MATLAB Web App Server を設定する

R2020a 以降

説明

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: 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

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

詳細

すべて折りたたむ

MATLAB Web App Server コマンドライン スクリプトの場所

コマンドライン スクリプトは、MATLAB Web App Server インストール フォルダー内の script フォルダーにあります。たとえば、R2024a のデフォルトの場所は次のとおりです。

オペレーティング システムコマンド ライン スクリプトの既定の場所

Windows® "(管理者)"

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

Linux® "(sudo)"

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

macOS (Intel® プロセッサ) (sudo)

/Applications/MATLAB/MATLAB_Web_App_Server/R2024a/script

バージョン履歴

R2020a で導入