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

 Accepted Answer

This might be because you dont have permission to write in that folder. Try a different directory and see if it still doesn't work.

7 Comments

How do I change the directory Since when I press enter after coding save matdata1 with the variables the error pops up. Before I can select a Folder for save as
Dont worry Amit I found a way Thanks once again
I am glad that you found a way to fix this!
Please tell us your solution I have the exact same problem
Ajay Joseph, may be you will be sooooo kind to answer to the question you posted......if you found it, just share it man
I answer for next generations. change your directory.

Sign in to comment.

More Answers (3)

Check the directory,because where you are writing your data on disk is important.
Tenía el mismo problema, lo resolví ejecutando Matlab como administrador. I had the same problem, i fixed it running Matlab as administrator.
Hello Ajay Joseph. What way you found to fix the bug in your code. I too am facing the same problem in the code that I got from a friend but he too didn't know how to tackle it. I hope you may help.
eval(['save' rp.name])
How did you fix your own code and how you correlate that with the above.
Thanks.

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Tags

Asked:

on 1 Feb 2014

Commented:

on 10 Nov 2020

Community Treasure Hunt

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

Start Hunting!