如何关闭所有的脚本编辑窗口?

22 vues (au cours des 30 derniers jours)
MathWorks Support Team
MathWorks Support Team le 11 Sep 2020
我正在编辑多个函数文件,如何将他们一起关闭?一个一个点关闭有点麻烦。

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 11 Sep 2020
当我们编写脚本,进入调试模式后单步执行(step in),此时会逐步打开多个函数文件,当调试结束后,可以通过以下指令,将他们一起关闭:
>> closeNoPrompt(matlab.desktop.editor.getAll);
您可以多次点击新建脚本,然后执行这行命令来尝试。需要说明的是,实时脚本不会被关闭。

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Report Generator dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!