Main Content

webapps-runtime

ConfigureMATLABRuntimefor use withMATLABWeb App Serverfrom the command line on Windows, Linux, and macOS systems

Description

webapps-runtime listreturns the list of currently configured versions ofMATLAB®Runtime.

webapps-runtime addruntime_pathadds the path to aMATLAB Runtimeinstallation, specified byruntime_path, to the server configuration.

webapps-runtime removestarts an interactive prompt to remove paths toMATLAB Runtimeinstallations from the server configuration.

webapps-runtime removeruntime_pathremoves the path to aMATLAB Runtimeinstallation, specified byruntime_path, from the server configuration.

webapps-runtime [--version | -v]returns the version ofMATLAB Web App Server™that is installed.

webapps-runtime [--help | -h]returns command-line help.

Examples

ListMATLABRuntimeInstallations

To get a list ofMATLAB Runtimeconfigured for use with the server, at the system command line, type:

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

AddMATLABRuntimePath

To add the path to aMATLAB Runtimeinstallation to the server configuration, at the system command line, type:

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.

RemoveMATLABRuntimePath

To remove the path to aMATLAB Runtimeinstallation from the server configuration, at the system command line, type:

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.

Get Version ofMATLABWeb App Server

To get the version ofMATLAB Web App Serverthat is installed, at the system command line, type:

webapps-runtime --version
MATLAB Web App Server (R2022aRelease)

Get Command-Line Help

To get help for the current command, at the system command line, type:

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  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  Removes runtime-path from the MATLAB Runtime configuration

Input Arguments

collapse all

Specify the path to theMATLAB Runtimeinstallation that you want to add to the server configuration or remove from the server configuration.

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

版本历史

Introduced in R2020a