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

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

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2019년 9월 26일

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!