14
votes

Every now and then, variables just stop showing up in the Workspace pane. who and whos show that there are definitely variables in the workspace - I just can't see them in the Workspace pane. Only restarting MATLAB resolves this. Why is this happening?

2
I would file this as a possible bug to MathWorks. Specify your platform, and if possible how to reproduce this behavior... Personally, this never occurred to me - Amro
right click the workspace and hit refresh.. do they appear? - Rasman
What version of MATLAB are you running and what platform are you on? Do you have any reproduction steps which will duplicate this behavior? - Matthew Simoneau
Have you tried scrolling down? - abcd
Are you using a recent release on OSX? In that case, please, please report this as a bug to MathWorks. They need to know about these interface bugs so that they get fixed. - Jonas

2 Answers

2
votes

I filed a bug report and never heard a word... I upgraded to 2011a, and haven't had this problem since. Because of this, because no one provided an answer and because I can no longer investigate others' further suggestions, I am accepting this as my answer.

1
votes

Do you invoke the Debugger and return to the workspace afterwards without closing it? Notice the changed command promt, as it starts with K>> now. The invocation causes a context switch and your variables dissapear (until you stop the debugger)...

But that's just a guess. I was confused about this a couple of times myself during my starting time with MATLAB.