MATLAB: Cannot save a Matlab file

not a bugone drive

Hi
I know this is not tech support, but since I have updated Matlab to 2012b I experience having lots of problems, so maybe you have some tipps..
So, I have the exact same problem some user posted earlier:
>>I create a new m-file and want to "save it as…" it does not change its name from "untitled" in the Editor and the little star telling i is unsaved does not disapear"<<
..? Any advice? Would be much appreciated

Best Answer

The reason you are probably seeing this is that your MATLABs current path is somewhere in Program Files where MATLAB has no write permissions. Confirm by: >> pwd
Navigate to some folder where you have write permissions, desktop or some documents folder and try to save your file, it should work fine.
If you have to - have to save it in the program files folder, then launch MATLAB as an administrator, if you have the permissions, by right click MATLAB icon and launch as admin.
Related Question