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

19 visualizzazioni (ultimi 30 giorni)
MathWorks Support Team
MathWorks Support Team il 11 Set 2020
我正在编辑多个函数文件,如何将他们一起关闭?一个一个点关闭有点麻烦。

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Adding custom doc in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!