MATLAB workspace not showing variables but a struct called 'wng'
4 views (last 30 days)
Show older comments
I'm using MATLAB R2019B. My MATLAB workspace won't show any variables I claimed in the scripts or in the command window. Instead, it always shows a struct called 'wng'.
My MATLAB did crashed before I noticed this issue. It happens during plotting a figure. But I didn't pay any attention to these so I forgot what warnings or errors MATLAB returned to me exactly. I restarted MATLAB and found this problem. Then no matter how many times I restarted, the workspace wouldn't change any more.


0 Comments
Answers (4)
Steven Lord
on 8 Sep 2020
Are you calling the built-in who function or a who.m that you've written or downloaded? What does this display?
which -all who
0 Comments
Bohao Zhang
on 10 Sep 2020
1 Comment
Walter Roberson
on 10 Sep 2020
It sounds as if your startup.m has a call to initialize that toolbox.
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!