Info
This question is closed. Reopen it to edit or answer.
Has anyone else experienced amnesia with 2012b?
1 view (last 30 days)
Show older comments
I am running 2012b on Windows XP 5.1. I heavily edited a script yesterday, and when I started Matlab today: 1) the m-file in question was not open in the editor, 2) when I opened the m-file using the Matlab gui, none of my edits were there, 3) the command history shows NO activity from yesterday although it does for the day before, and 4) when I opened the m-file from the folder in which it was saved, the edits were all there.
Has anyone else run across this bug? Any tips in preventing this Matlab amnesia?
3 Comments
Andreas Goser
on 19 Sep 2012
Edited: Andreas Goser
on 19 Sep 2012
And as of (different) editing issues in the past: Is the file located on a network drive or has the path special characters in it?
Answers (2)
Jan
on 19 Sep 2012
Do I understand correctly: When you open the M-file using the Matlab GUI, the edits are not existing, but they are if you open the file "from the folder", which means using the file browser of the operating system? This sounds magic. Even if Matlab has forgotten anything, for displaying the file it has to read the data from the disk. And then it cannot be explained, why the contents of the file depends on the method you open it.
Whenever magic appears in Matlab, simple deterministic causes could be found until today. Therefore I dare to guess, that you do not open the same file, but different files. Please check this 4 or 5 times again.
On the other hand I can believe that the history is missing a day. This could be caused by a simple crash. We had this e.g. in 2011b when a AudioPlayer object exists and Matlab tries to delete it automatically at shutdown. Although this happened in a phase where error messages could not be seen in the command line anymore, the error beep revealed that there is a problem.
1 Comment
Jason Ross
on 26 Sep 2012
Are you using Roaming Profiles on your domain? It's possible that they became out of sync and the information was lost when they re-synced. There have been a number of issues over time where this would happen for one reason or another :
If you search for "Roaming Profile missing files" or "roaming profile corruption" there are a variety of things that can go wrong.
If you check the Event Viewer on your PC, look for messages relating to a profile having to be re-downloaded or something similar.
2 Comments
Image Analyst
on 27 Sep 2012
So you're saying that you don't have a C:\Users\yourName\AppData\Roaming\MathWorks\MATLAB folder on your computer like other Windows 7 users?
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!