Why do I get the error "MATLAB Web App Server files not found" when starting the Web App Server?

조회 수: 16 (최근 30일)
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.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2018년 7월 25일
편집: MathWorks Support Team 2018년 7월 25일
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

추가 답변 (1개)

cui,xingxing
cui,xingxing 2019년 4월 23일
微信截图_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

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

아직 릴리스를 입력하지 않았습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by