webapps-runtime
ConfigureMATLABRuntimefor use withMATLABWeb App Serverfrom the command line on Windows, Linux, and macOS systems
Syntax
Description
webapps-runtime list
returns the list of currently configured versions ofMATLAB®Runtime.
webapps-runtime add
adds the path to aMATLAB Runtimeinstallation, specified byruntime_path
runtime_path
, to the server configuration.
webapps-runtime remove
starts an interactive prompt to remove paths toMATLAB Runtimeinstallations from the server configuration.
webapps-runtime remove
removes the path to aMATLAB Runtimeinstallation, specified byruntime_path
runtime_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 addAdds 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