MATLAB Answers

unable to write file permission denied

226 views (last 30 days)
Imene Yed
Imene Yed on 30 May 2021
Commented: Torsten on 30 May 2021
I'm trying to put an output by using:
save expr.txt t expr_at_i -ascii how can I allow the permission
Unable to write file expr.txt: permission denied

Answers (1)

Torsten
Torsten on 30 May 2021
Edited: Walter Roberson on 30 May 2021
After starting Matlab, type in the command window "cd" followed by a folder where you have writing permission.
See
for more details.
  8 Comments
Torsten
Torsten on 30 May 2021
But be careful now as Admin that you don't overwrite important files.
Better change to a drive different from the C drive and create your working folder there.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!