Can't clear workspace from GUI in Matlab 2025a

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

This apparently a bug, since closing and reopening Matlab sometimes solve this issue. I'll report it to Mathworks.

More Answers (1)

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

1 Comment

Yeah, I forgot to specify it, the clear command works as usual

Sign in to comment.

Categories

Products

Release

R2025a

Community Treasure Hunt

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

Start Hunting!