Can't clear workspace from GUI in Matlab 2025a

8 views (last 30 days)
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?

Accepted Answer

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

More Answers (1)

Benjamin Kraus
Benjamin Kraus on 5 Jun 2025
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

Categories

Find more on Desktop in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!