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

1 次查看(过去 30 天)
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.

采纳的回答

Alexander Plunkett
Alexander Plunkett 2018-8-22
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by