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

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

 采纳的回答

0 个投票

如果需要关闭所有的绘图(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

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink 函数 的更多信息

产品

版本

R2019a

Community Treasure Hunt

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

Start Hunting!