Error using save Unable to write file generation: permission denied.
60 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Patrice Gaofei
le 7 Déc 2017
Commenté : Allan Levy
le 19 Avr 2021
hello everyone after running my program, i can not save any of my variables. i do not understand why is wrong with my matlab, this does not often happen. generation.XTrainSet = TrainSET; generation.YTrainLabels = TrainLabels; generation.XTestSet = TestSET; generation.YTestLabels = TestLabels;
save generation_data generation
when i try saving this variable, this is the error i got:Error using save Unable to write file generation: permission denied. could anyone help me out, thanks
0 commentaires
Réponse acceptée
John D'Errico
le 7 Déc 2017
You lack write access in the current directory.
So either change the privileges in that directory, or you need to CD to a directory where you do have write access.
help cd
help pwd
5 commentaires
Allan Levy
le 19 Avr 2021
Hi, do you know how to solve this probleme when the app is generate by Compiler and launched with MCR ?
Plus de réponses (1)
dror yemini
le 7 Juil 2019
you may opened in bin folder of matlab change to your local code folder
0 commentaires
Voir également
Catégories
En savoir plus sur 安装和许可简介 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!