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:
How to remove a figure window

Subject: How to remove a figure window

From: Tapon Paul

Date: 19 Mar, 2008 04:40:06

Message: 1 of 2

Is it possible to remove a figure window automatically
after display or with some predefined delay?

Subject: How to remove a figure window

From: Vihang Patil

Date: 19 Mar, 2008 08:08:28

Message: 2 of 2

"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

Tags for this Thread

No tags are associated with 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