ConfigureMATLABRuntimefor use withMATLABWeb App Serverfrom the command line on Windows, Linux, and macOS systems
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.
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\v911/usr/local/MATLAB/MATLAB_Runtime/v911
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.
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.
To get the version ofMATLAB Web App Serverthat is installed, at the system command line, type:
webapps-runtime --version
MATLAB Web App Server (R2021bRelease)
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