Why does the update installer fail with "Error: ENOENT: no such file or directory" and mentions an appdata folder?

9 次查看(过去 30 天)
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
编辑: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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by