Why does the update installer fail with "Error: ENOENT: no such file or directory" and mentions an appdata folder?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 8 Mai 2019
Modifié(e) : MathWorks Support Team
le 15 Juil 2019
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'
Réponse acceptée
MathWorks Support Team
le 15 Juil 2019
Modifié(e) : MathWorks Support Team
le 15 Juil 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
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!