How to kill all figure windows in MATLAB?

조회 수: 63 (최근 30일)
Mr M.
Mr M. 2015년 4월 15일
댓글: Adam Danz 2021년 9월 2일
Is it possible to kill all figure windows with only a single click or command?

답변 (2개)

Dishant Arora
Dishant Arora 2015년 4월 15일
  댓글 수: 4
Pintu Saini
Pintu Saini 2021년 9월 2일
not working for me in online matlab.
Adam Danz
Adam Danz 2021년 9월 2일
@Pintu Saini I assum you're responding to Dishant's answer rather than my comment directly under the answer. I've also added a new answer that may be more visible.

댓글을 달려면 로그인하십시오.


Adam Danz
Adam Danz 2021년 9월 2일
Update
close all force
% or
close('all','force')
In R2016a, Matlab introduced uifigure which has hidden handles by default so they go undetected by the "close all" request. Figure handle visiblilty can be changed from the HandleVisibility property.

카테고리

Help CenterFile Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by