Can't clear workspace from GUI in Matlab 2025a

14 次查看(过去 30 天)
In my installation of Matlab 2025a the options to save or clear the workspace in Workspace panel are grayed-out.
The keyboard shortcut to save the workspace works even if the option it's not interactable.
On a related note, why doesn't "clear workspace" has mappable keybind in this new version?

采纳的回答

Marco Pasquali
Marco Pasquali 2025-6-10
This apparently a bug, since closing and reopening Matlab sometimes solve this issue. I'll report it to Mathworks.

更多回答(1 个)

Benjamin Kraus
Benjamin Kraus 2025-6-5
I'm not sure why Clear Workspace is not available, but have you tried the clear command?
Just run this in the command window:
clear
If you want to save the workspace, you can run the save command.
save filename.mat

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

产品


版本

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by