Workspace not updating to show new variables automatically

36 次查看(过去 30 天)
In the current version of MATLAB 2024b the workspace no longer seems to update to show new variables, requiring me to manually refresh the workspace variable list to see them. In older versions this was automatic. I've searched through the settings menu and can't seem to find a corresponding setting, but I'm not sure if I'm just looking for the wrong thing/in the wrong place.
I can reproduce this bug in 2024b by opening a workspace and running any command which assigns/changes a variable:
a = 5; % the workspace still shows as having no variables; updating fixes it
a(end+1) = 10; % workspace still shows a = 5
clear a % workspace still shows a = 5
It doesn't matter if I do this in a script or from the command line. This behavior does not persist on other versions for me.
(I'm only posting this because every other question I found on here relates to people being confused about variable scoping, which is not my problem)
  3 个评论
Alex B
Alex B about 21 hours 前
I'm running on Windows 11 currently and (from what I can tell) I'm running the newest version of the New Desktop Beta. Disabling the New Desktop Beta seems to have fixed the issue, however.
Steven Lord
Steven Lord about 20 hours 前
Okay, in that case could you please report this behavior directly to the developers working on the new desktop? You can do this using the feedback button in the MATLAB toolstrip. That way it'll get directly to those developers. Thanks.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by