This error is thrown when MATLAB Web App Server could not find the required files for the following reasons:
- A supported version of MCR is either not installed
- A supported version of MCR is not added to Windows PATH system environment variable before any installed version of MATLAB.
To resolve this issue, make sure you have installed the correct version of MCR and added the MCR folder location to PATH environment variable so that it is listed before any other MATLAB/MCR folder paths. An example of the default location would be:
C:\Program Files\MATLAB\MATLAB Runtime\v94\runtime\win64
Once you change the PATH, MATLAB Web App Server will pick up the necessary files from MATLAB Compiler to function as expected.
If you are on Windows 11 version 24H2 and seeing the same error message with a different title such as the following ("The "wmic" command was not found..."):
Older versions of the development version of MATLAB Web App Server rely on WMIC, which is no longer shipped by default in this Windows release. There are two options to work around this: