Workspace not updating to show new variables automatically
Mostra commenti meno recenti
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)
6 Commenti
Steven Lord
il 20 Nov 2024
I don't see anything related to this in the Bug Reports. Can you share which operating system you're using? And are you using the New Desktop for MATLAB (Beta) or the standard desktop included in the installation of MATLAB?
The reason I ask about the new desktop is that on that File Exchange page I see "An issue with variables not appearing in the Workspace Browser has been fixed" in the "What's new in R2024a" section, so I'm wondering if you're using an older release of that add-on or if that fix in release R2024a turns out to have interacted with other changes to break the Workspace Browser in R2024b.
Alex B
il 20 Nov 2024
Steven Lord
il 20 Nov 2024
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.
Beñat Arribas
il 26 Nov 2024
I also have problems with the workspace with the new desktop. It does not refresh properly.
Alex B
il 26 Nov 2024
Rob Jacobs
il 2 Dic 2024
To continue using the New Desktop Beta, you could also try the following as a temporary workaround:
>> internal.matlab.desktop_workspacebrowser.RemoteWorkspaceBrowser.getInstance()
Risposte (0)
Categorie
Scopri di più su Startup and Shutdown in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!