Resolving "Permission Denied" when creating a file.
Show older comments
I am currently trying to include an animation in my code, but when I run it, I get an error message saying, "Cannot create file PS4_animation. Permission Denied." How can I resolve this?
3 Comments
Walter Roberson
on 16 Oct 2023
What is your current directory ( pwd ) at the time you are trying to open the file? Do you have write access to that directory?
Torsten
on 16 Oct 2023
To test for write access, try to save a test file there (independent of MATLAB).
Claire
on 1 Nov 2023
Accepted Answer
More Answers (0)
Categories
Find more on Install Products 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!