Matlab not saving files
Afficher commentaires plus anciens
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 commentaires
Geoff Hayes
le 19 Juin 2014
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
le 19 Juin 2014
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
le 19 Juin 2014
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
le 19 Juin 2014
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!