如何关闭所有的脚本编辑窗口?
24 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 11 de Sept. de 2020
Respondida: MathWorks Support Team
el 11 de Sept. de 2020
我正在编辑多个函数文件,如何将他们一起关闭?一个一个点关闭有点麻烦。
Respuesta aceptada
MathWorks Support Team
el 11 de Sept. de 2020
当我们编写脚本,进入调试模式后单步执行(step in),此时会逐步打开多个函数文件,当调试结束后,可以通过以下指令,将他们一起关闭:
>> closeNoPrompt(matlab.desktop.editor.getAll);
您可以多次点击新建脚本,然后执行这行命令来尝试。需要说明的是,实时脚本不会被关闭。
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Report Generator en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!