CMD+S tries to save my workspace instead of my active function/script. How do I revert this behavior?

4 vues (au cours des 30 derniers jours)
I'm running Matlab 2018a on a MacBook with High Sierra 10.13.6. Whenever I'm using the editor to write functions or scripts I use cmd+S to save my changes. Recently when I've tried to do this, Matlab tries to save a .mat file instead of the expected .m file. I assume it is attempting to save my workspace instead of the active function/script in my editor.
I always use the editor docked in the main window, if that helps at all.

Réponse acceptée

Alexander Plunkett
Alexander Plunkett le 22 Août 2018
In preferences there is a shortcuts tab, where I found CMD+S was assigned to Save Workspace instead of Save.
Changed it back and now it works, I guess I must have changed it accidentally somehow.

Plus de réponses (0)

Catégories

En savoir plus sur Workspace Variables and MAT Files dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by