필터 지우기
필터 지우기

Error using save Unable to write file generation: permission denied.

조회 수: 59 (최근 30일)
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

채택된 답변

John D'Errico
John D'Errico 2017년 12월 7일
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
Krishna Anand
Krishna Anand 2021년 3월 22일
how did you solve the problem?
Allan Levy
Allan Levy 2021년 4월 19일
Hi, do you know how to solve this probleme when the app is generate by Compiler and launched with MCR ?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

dror yemini
dror yemini 2019년 7월 7일
you may opened in bin folder of matlab change to your local code folder

카테고리

Help CenterFile Exchange에서 安装和许可简介에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!