Main Content

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

webapps-runtime

Windows、Linux、macOS システムのコマンド ラインからMATLAB MATLAB Web App Serverランタイムを構成する

R2020a 以降

説明

webapps-runtime list は、 MATLAB®ランタイムの現在構成されているバージョンのリストを返します。

webapps-runtime add runtime_path は、 MATLAB で指定されたruntime_pathランタイム インストールへのパスをサーバー構成に追加します。

webapps-runtime remove は、サーバー構成からMATLABランタイム インストールへのパスを削除するための対話型プロンプトを開始します。

webapps-runtime remove runtime_path は、 MATLABで指定されたruntime_pathランタイム インストールへのパスをサーバー構成から削除します。

webapps-runtime [--version | -v] は、インストールされているMATLAB Web App Server™のバージョンを返します。

webapps-runtime [--help | -h] はコマンドライン ヘルプを返します。

MATLABランタイム インストールのリスト

サーバーで使用するために構成されたMATLABランタイムのリストを取得するには、システム コマンド ラインで次のように入力します。

webapps-runtime list
C:\Program Files\MATLAB\MATLAB Runtime\v232
/usr/local/MATLAB/MATLAB_Runtime/v232

MATLABランタイム パスを追加

MATLABランタイム インストールへのパスをサーバー構成に追加するには、システム コマンド ラインで次のように入力します。

webapps-runtime add "C:\Program Files\MATLAB\MATLAB Runtime\v98"
MATLAB Runtime configuration updated. Changes will be applied the next time the server is started.

MATLABランタイム パスを削除

MATLABランタイム インストールへのパスをサーバー構成から削除するには、システム コマンド ラインで次のように入力します。

webapps-runtime remove "C:\Program Files\MATLAB\MATLAB Runtime\v98"
MATLAB Runtime configuration updated. Changes will be applied the next time the server is started.

MATLAB Web App Serverのバージョンを取得

インストールされているMATLAB Web App Serverのバージョンを取得するには、システム コマンド ラインで次のように入力します。

webapps-runtime --version
MATLAB Web App Server (R2023b Release)

コマンドラインのヘルプを取得する

現在のコマンドのヘルプを表示するには、システム コマンド ラインで次のように入力します。

webapps-runtime --help
Usage:
  webapps-runtime -h [ --help ]          Display this help message
  webapps-runtime -v [ --version ]       Display the version of MATLAB Web App Server
  webapps-runtime list                   Lists currently configured MATLAB Runtimes
  webapps-runtime add <runtime-path>     Adds runtime-path to the MATLAB Runtime configuration
  webapps-runtime remove                 Launch interactive prompt to remove MATLAB Runtimes 
                                         from the from the MATLAB Runtime configuration
  webapps-runtime remove <runtime-path>  Removes runtime-path from the MATLAB Runtime configuration

入力引数

すべて折りたたむ

サーバー構成に追加する、またはサーバー構成から削除するMATLABランタイム インストールへのパスを指定します。

例: "C:\Program Files\MATLAB\MATLAB Runtime\v98"

バージョン履歴

R2020a で導入