Matlab not saving files
이전 댓글 표시
I'm using MATLAB R2013a on OS X 10.9.3
Here is screenshot of what is happenening.

After I click save, I go to open and I don't see my file anywhere.

Does anyone have any suggestions?
Thanks.
댓글 수: 4
Geoff Hayes
2014년 6월 19일
Interesting how in the second image, the text along the top of the Editor window still reads Editor - untitled 2* which is the default name of the file and the * meaning it has been modified and needs to be saved. So the initial save never took.
Do you have write permissions to this folder? (I suspect that you would see an error message window if that were the case though…)
Does the same thing happen for files that already exist i.e. can you modify the file and save the changes?
Star Strider
2014년 6월 19일
It will show ‘Untitled 2’ until it gets saved the first time, then the MATLAB Editor will show its tab to be (in this situation) ‘myfirstfunction.m’.
So if the title in the tab for it changes, that means it’s been saved successfully.
Geoff Hayes
2014년 6월 19일
Right - so Anthony's steps are add text to new file 'Untitled2', select 'Save--> Save As...' from the menu, press the Save button and...the title of the file remains as 'Untitled2' indicating that the save failed (for some reason).
Star Strider
2014년 6월 19일
The only other files visible are both ‘toolbox’ functions. Probably not permitted to save to those directories, the reason the save failed.
Switching to Anthony’s user directory would probably solve the problem.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!