MATLAB Answers

0

Why do I get the error "MATLAB Web App Server files not found. Verify that MATLAB Runtime appears before any installed version of MATLAB" while starting Web App Server?

Asked by MathWorks Support Team on 28 Mar 2018
Latest activity Answered by cui
on 23 Apr 2019
I have installed Web App Server after following the instructions given on documentation.
When I try to start Web App Server server executable, I receive the error -
"MATLAB Web App Server files not found. Verify that MATLAB Runtime appears before any installed version of MATLAB".
How to fix this?

Products


Release

R2018a

2 Answers

Answer by MathWorks Support Team on 12 Apr 2018
 Accepted Answer

This error is thrown when Web App could not find the required files, because a supported version of MCR is either not installed or it is not added to Windows PATH system environment variable before any installed version of MATLAB.
To resolve this issue, make sure you have installed correct version of MCR and added the MCR folder location to PATH environment variable before any other MATLAB/MCR folders.
The default location would be-
C:\Program Files\MATLAB\MATLAB Runtime\v94\runtime\win64
Once you change the PATH, Web App Server will pick up the necessary files from MATLAB Compiler and it will run smoothly.
Hope this helps!

  0 Comments

Sign in to comment.


Answer by cui
on 23 Apr 2019

微信截图_20190423120425.png
By following the above, my environment variable is set as shown Figure,but it does't work! same error ? my matlab release 2019a

  0 Comments

Sign in to comment.