如何将MATLAB/​Simulink所有​的绘图结果一起关闭?

如何将MATLAB/Simulink所有的绘图结果一起关闭?

 Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 26 Sep 2019

0 votes

如果需要关闭所有的绘图(figure),执行:
close all
但此时,HandleVisibility属性被设置为off的绘图不会被关闭。如果需要关闭这些绘图,需要进一步执行:
delete(findall(0));
如果需要关闭所有 Simulink 模型,请执行:
bdclose all
源链接:
www.mathworks.com/matlabcentral/answers/96076-is-there-a-way-to-close-all-opened-matlab-simulink-figures-at-once

Plus de réponses (0)

Catégories

En savoir plus sur 安装产品 dans Centre d'aide et File Exchange

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!