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?

 Akzeptierte Antwort

Marco Pasquali
Marco Pasquali am 10 Jun. 2025

1 Stimme

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

Weitere Antworten (1)

Benjamin Kraus
Benjamin Kraus am 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

1 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by