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

19 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 25 Jul. 2018
Bearbeitet: MathWorks Support Team am 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

Weitere Antworten (1)

cui,xingxing
cui,xingxing am 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

Tags

Noch keine Tags eingegeben.

Produkte


Version

Noch keine Version eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by