How do I simly exit and close all the windows in R2012b?

2 次查看(过去 30 天)
All the previous versions had an item in the "File" pulldown menu with which one could close out of matlab entirely. How does one do this with R2012b? I don't want to have to close each window separately.

回答(1 个)

Matt Fig
Matt Fig 2012-9-13
编辑:Matt Fig 2012-9-13
Does:
quit
still work? This should get you out of MATLAB entirely. If you mean only to close all figures without quitting, then use:
close all
  2 个评论
Image Analyst
Image Analyst 2012-9-13
One thing to add: If you also have an image up in imtool, using close all won't close that window. It takes a special command "imtool close all" to close that window.
Matt Fig
Matt Fig 2012-9-13
编辑:Matt Fig 2012-9-13
IA, does this work on imtool?
delete(findall(0,'parent',0))

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by