Path: news.mathworks.com!not-for-mail
From: "Vihang Patil" <vihang_patil@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to remove a figure window
Date: Wed, 19 Mar 2008 08:08:28 +0000 (UTC)
Organization: Konem Solutions
Lines: 19
Message-ID: <frqhls$nib$1@fred.mathworks.com>
References: <frq5f6$mmt$1@fred.mathworks.com>
Reply-To: "Vihang Patil" <vihang_patil@yahoo.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1205914108 24139 172.30.248.37 (19 Mar 2008 08:08:28 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 19 Mar 2008 08:08:28 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 413701
Xref: news.mathworks.com comp.soft-sys.matlab:457987


"Tapon Paul" <hemt_82@yahoo.com> wrote in message <frq5f6
$mmt$1@fred.mathworks.com>...
> Is it possible to remove a figure window automatically 
> after display or with some predefined delay?

Hello Paul
The figure window in itself doesnt have this functionality 
inbuilt. But you can try using timer() and do a bit of 
coding on the following lines;
1. Define a timer object having the "ExecutionMode" 
Property set to 'singleShot', and your predefined time 
period
2. Start the timer. In start function of timer display 
your figure window
3. In the Stop function of timer write a code to close 
the  figure window

HTH
Vihang