Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!ecngs!feeder2.ecngs.de!feeder.news-service.com!ramfeed2.eweka.nl!eweka.nl!hq-usenetpeers.eweka.nl!69.16.177.246.MISMATCH!cyclone03.ams.highwinds-media.com!news.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe30.ams2.POSTED!7564ea0f!not-for-mail
Sender:  <tristram@chicken.quantmodels.co.uk>
From: tristram.scott@ntlworld.com (Tristram Scott)
Subject: Re: Report generator from a GUI
Newsgroups: comp.soft-sys.matlab
References: <gdil46$a66$1@fred.mathworks.com>
User-Agent: tin/1.7.7-20041215 ("Scalpay") (UNIX) (SunOS/5.10 (sun4u))
Lines: 19
Message-ID: <DbgLk.9103$Qh1.431@newsfe30.ams2>
NNTP-Posting-Host: 82.6.107.75
X-Complaints-To: http://netreport.virginmedia.com
X-Trace: newsfe30.ams2 1224576867 82.6.107.75 (Tue, 21 Oct 2008 08:14:27 UTC)
NNTP-Posting-Date: Tue, 21 Oct 2008 08:14:27 UTC
Organization: virginmedia.com
Date: Tue, 21 Oct 2008 08:14:27 GMT
Xref: news.mathworks.com comp.soft-sys.matlab:496468


Sonsoles Romero Garc&#xED;a <krokketilla@gmail.com> wrote:
> I'm using the report generator to generate a automatic report for a tool.
> I want to launch the report from a GUI, my problem is that once the report
> is generated, my GUI is closed and deleted (the report generator
> functionality deletes all the figures opened by Matlab).

That's nice of it...


> 
> Does anybody know how can I keep my GUI opened and get the report generated?

Perhaps if yopu create your figure thus:

h1 = figure('handlevisibility','off');

-- 
Dr Tristram J. Scott               
Energy Consultant