If you did not configure the MATLAB®
Web App Server™ to use a version of MATLAB Runtime during the setup process, you can do so using the
webapps-runtime command. However, before configuring the server to
use a version of MATLAB Runtime, verify that you have one installed.
MATLAB Runtime starting from R2019b up until the most recent release is supported. You can use multiple versions of the MATLAB Runtime with the server.
Download the MATLAB Runtime installer from the MathWorks® website or the MATLAB desktop.
Select the appropriate platform and release-specific installer from:
At the MATLAB command prompt, type:
Install MATLAB Runtime using the installer. For installation instructions, see Install and Configure the MATLAB Runtime (MATLAB Compiler).
To configure the server to use a version of MATLAB Runtime:
Navigate to the command-line scripts folder.
|Operating System||Default Location of Command-Line Scripts|
webapps-runtime command with the
add option and a path to the MATLAB Runtime
webapps-runtime add <Path to MATLAB Runtime installation>