Why does the update installer fail with "Error: ENOENT: no such file or directory" and mentions an appdata folder?
조회 수: 9 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2019년 5월 8일
편집: MathWorks Support Team
2019년 7월 15일
I am unable to update my MATLAB installation. The update installer fails with this error:
matlabroot (from -d): [C:\Program Files\MATLAB\R2016b]
Products dir: C:\Program Files\MATLAB\R2016b\appdata\products
Components dir: C:\Program Files\MATLAB\R2016b\appdata\components
fs.js:904
return binding.readdir(pathModule._makeLong(path), options.encoding);
^
Error: ENOENT: no such file or directory, scandir 'C:\Program Files\MATLAB\R2016b\appdata\products'
채택된 답변
MathWorks Support Team
2019년 7월 15일
편집: MathWorks Support Team
2019년 7월 15일
The update installer fails because the appdata folder is missing in your MATLAB installation.
These files are needed for MATLAB to run properly, and the update installer cannot recreate these.
Since your MATLAB installation is corrupted, you will have to perform a clean re-installation.
1. How to do a clean uninstall
- Windows System: <https://www.mathworks.com/matlabcentral/answers/131519 How do I perform a clean installation of MATLAB on a Windows system? >
2. Reinstall MATLAB
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File 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!