![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/290821/image.png)
error while copying files in to matlab current directory
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
when ever i try to copy any file(wether image or m file) into my matlab current directory,i get error as shown on left side in attached snapshot
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/290817/image.jpeg)
1 commentaire
Stephen23
le 6 Mai 2020
Modifié(e) : Stephen23
le 6 Mai 2020
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/290821/image.png)
You should not be working in the installation folders, or anywhere under Program Files.
Do not add, change, edit, or remove files from any application's installation folder!
You should be saving files somewhere under your User Directory, for example the MATLAB startup folder:
Réponses (1)
Image Analyst
le 18 Juil 2022
Windows does not let you copy or write anything under "C:\Program Files" folder unless you're an official installation/setup program.
0 commentaires
Voir également
Catégories
En savoir plus sur Startup and Shutdown 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!