立即在编辑器中保存所有打开的 .m 文件

Save all open .m files in the editor at once

运行 代码,获取旧结果...确实,再次忘记保存其中一个已编辑的 .m 文件。一次保存所有打开的 .m 文件的键盘快捷键是什么?

您可以为 全部保存 操作添加快捷方式(至少在我使用的 R2015a 中是这样)。

我选择了CTRL+ALT+S

MATLAB documentation:

中描述了如何到达那里

On the Home tab, in the Environment section, click Preferences. Select MATLAB > Keyboard > Shortcuts.