unable to write file permission denied

394 views (last 30 days)
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
Walter Roberson
Walter Roberson on 26 Jul 2022
As described below, you are in a directory that you do not have write access to.

Sign in to comment.

Accepted Answer

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.
for more details.
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.

More Answers (0)


Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by