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

16 visualizzazioni (ultimi 30 giorni)
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'

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 15 Lug 2019
Modificato: MathWorks Support Team il 15 Lug 2019
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

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by