Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
couldn't close figures, 'close all' not working

Subject: couldn't close figures, 'close all' not working

From: david

Date: 18 Oct, 2011 11:53:30

Message: 1 of 4

Hi all,

I used 'aoctool' to create analysis using ANOCOVA but after figures generated I could not close them. For reference I provide some simple codes:

load carsmall %%default data in matlab
[h,atab,ctab,stats] = aoctool(Weight,MPG,Model_Year);
close all;

It will generate 1 figure and 2 talbes and could anyone tell me how to close them all?

Thank you.

Dave

Subject: couldn't close figures, 'close all' not working

From: ImageAnalyst

Date: 18 Oct, 2011 12:39:35

Message: 2 of 4

On Oct 18, 7:53 am, "David " <dawei....@twi.co.uk> wrote:
> Hi all,
>
> I used 'aoctool' to create analysis using ANOCOVA but after figures generated I could not close them. For reference I provide some simple codes:
>
> load carsmall %%default data in matlab
> [h,atab,ctab,stats] = aoctool(Weight,MPG,Model_Year);
> close all;
>
> It will generate 1 figure and 2 talbes and could anyone tell me how to close them all?
>
> Thank you.
>
> Dave

----------------------------------------------
Dave:
Try
close all force;
close all hidden;
or close all followed by the name of the window that aoctool created.
See the help for more info on those options.

Subject: couldn't close figures, 'close all' not working

From: Bob

Date: 18 Oct, 2011 16:42:55

Message: 3 of 4


> I used 'aoctool' to create analysis using ANOCOVA but after figures generated I could not close them.

See also my recent post about closing array editor windows

http://tinyurl.com/3b4a7dv

actual link:
http://groups.google.com/group/comp.soft-sys.matlab/browse_thread/thread/a8b85070c530906e/d4a66ab6d72b8de2?hl=en&lnk=gst&q=clrg#d4a66ab6d72b8de2

Subject: couldn't close figures, 'close all' not working

From: david

Date: 18 Oct, 2011 16:57:28

Message: 4 of 4

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <d3e02e4f-4641-43c4-9abb-698cf122c2c1@k35g2000yqh.googlegroups.com>...
> On Oct 18, 7:53 am, "David " <dawei....@twi.co.uk> wrote:
> > Hi all,
> >
> > I used 'aoctool' to create analysis using ANOCOVA but after figures generated I could not close them. For reference I provide some simple codes:
> >
> > load carsmall %%default data in matlab
> > [h,atab,ctab,stats] = aoctool(Weight,MPG,Model_Year);
> > close all;
> >
> > It will generate 1 figure and 2 talbes and could anyone tell me how to close them all?
> >
> > Thank you.
> >
> > Dave
>
> ----------------------------------------------
> Dave:
> Try
> close all force;
> close all hidden;
> or close all followed by the name of the window that aoctool created.
> See the help for more info on those options.

The code works! thank you very much!!

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us