55 visualizzazioni (ultimi 30 giorni)
I am receiving an error while trying to save a file. I have entered:
save A1.dat A -ascii
I am receiving
??? Error using ==> save
Unable to write file A1.dat: permission denied.
I just installed MATLAB and do not know how to grant myself permission to write the files.
Andreas Goser il 10 Gen 2012
There is no need to enable saving or so. This will be just related to the directory / folder you attempt writing to. Mostly, this is when you have a directory within yout MATLAB installation. Try a different directory. If difficulties persist, let us know the OS, the MATLAB release and the directory name.
Sven Schoeberichts il 12 Gen 2012
Sounds like you're using a school's computer, and appearently you lack the permission to write to the MATLAB directory.
Try saving to a USB memory stick, or the My Documents folder.