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

2 views (last 30 days)
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.

Answers (1)

Matt Fig
Matt Fig on 13 Sep 2012
Edited: Matt Fig on 13 Sep 2012
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 Comments
Image Analyst
Image Analyst on 13 Sep 2012
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 on 13 Sep 2012
Edited: Matt Fig on 13 Sep 2012
IA, does this work on imtool?
delete(findall(0,'parent',0))

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!