MATLAB workspace not showing variables but a struct called 'wng'

2 次查看(过去 30 天)
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.

回答(4 个)

Sulaymon Eshkabilov
did you use: >> clear all?
and restart your pc?

Steven Lord
Steven Lord 2020-9-8
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

Walter Roberson
Walter Roberson 2020-9-8
Your startup.m contains a line such as
wng = warning('off')

Bohao Zhang
Bohao Zhang 2020-9-10
Thanks for answering this question. The problem is about a third-party toolbox called IntLab_V12. There's one struct called 'wng' that handles all the warning.

类别

Help CenterFile Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by