Why do I get the error "MATLAB Web App Server files not found" when starting the Web App Server?
15 views (last 30 days)
Show older comments
MathWorks Support Team
on 3 Apr 2018
Answered: cui,xingxing
on 23 Apr 2019
After installing the R2018a Web App Server I try to start it, but get the error:
MATLAB Web App Server files not found. Verify that MATLAB Runtime appears before any installed version of MATLAB in the Windows Path environment variable.
Accepted Answer
MathWorks Support Team
on 25 Jul 2018
Edited: MathWorks Support Team
on 25 Jul 2018
In the Windows PATH environment variable, MATLAB Runtime (MCR) must appear before any MATLAB installation paths. Having them the other way around could be caused by a previous installation of the Prerelease version of the Web App Server.
Make sure that MATLAB Runtime (e.g. C:\Program Files\MATLAB\MATLAB Runtime\v94\runtime\win64) appears before MATLAB (e.g. C:\Program Files\MATLAB\R2018a\bin) and try launching the Web App Server again.
1. Go to Control Panel > System > Advanced system settings > tab "Advanced" > Environment variables.
2. Under "System variables", find the variable "Path" and click Edit.
(The Variable value likely contains several paths, too long to conveniently edit in the small field. For convenience, you may find it easier to copy the value to Notepad or a similar editor, edit it there and copy it back after making the changes.)
3. Edit the path so that the path to the MATLAB Runtime is listed before the path to MATLAB.
The path of MATLAB Runtime has the following format:
C:\Program Files\MATLAB\MATLAB Runtime\<version>\runtime\win64
(Version v94 is for R2018a. For a list of versions refer to https://www.mathworks.com/products/compiler/matlab-runtime.html.)
The path of MATLAB has the following format:
C:\Program Files\MATLAB\<release>\bin
These are the default installation folders. Your paths may vary depending on where you installed MATLAB and the Runtime.
For example, initially the Path variable value might look like this (MATLAB before MCR):
%systemroot%\system32;%systemroot%;C:\Program Files\MATLAB\R2018a\bin;C:\Program Files\MATLAB\MATLAB Runtime\v94\runtime\win64
It has to be corrected so that MCR is listed before MATLAB:
%systemroot%\system32;%systemroot%;C:\Program Files\MATLAB\MATLAB Runtime\v94\runtime\win64;C:\Program Files\MATLAB\R2018a\bin
0 Comments
More Answers (1)
cui,xingxing
on 23 Apr 2019
![微信截图_20190423120425.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/215478/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!