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
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
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
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
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.

サインインしてコメントする。

 採用された回答

Star Strider
Star Strider 2014 年 6 月 19 日

2 投票

If it’s still open in the MATLAB Editor and this is the first time you’ve saved it, it may not show up in the MATLAB Editor ‘Open’ options. If you want to be sure it was saved, open the relevant directory in a different application. Your file should be there. (I have a Win 8 PC, so I can only speak from my own experiences in this. It seems to be specific to the MATLAB Editor. I would use File Explorer — or the Mac equivalent — to look for it, but a text editor or similar application might work as well.)

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

タグ

質問済み:

2014 年 6 月 19 日

コメント済み:

2014 年 6 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by