Path: news.mathworks.com!not-for-mail
From: "Luca Cerone" <cerone@to-see.it>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Callback Cross close function
Date: Tue, 13 May 2008 16:46:05 +0000 (UTC)
Organization: To see srl
Lines: 23
Message-ID: <g0cgkd$3lv$1@fred.mathworks.com>
References: <g0cb3g$17m$1@fred.mathworks.com> <g0cf5g$45e$1@fred.mathworks.com>
Reply-To: "Luca Cerone" <cerone@to-see.it>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210697165 3775 172.30.248.35 (13 May 2008 16:46:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 13 May 2008 16:46:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1102946
Xref: news.mathworks.com comp.soft-sys.matlab:468198


> To start with, use the "CloseRequestFcn" 
Thanks I just found it on Matlab Help 2 minutes ago ^_^

> As far as I know, CLEAR ALL is unnecessary to clear 
> variables from memory.  Having the executable quit should 
> be enough to handle this.

I don't know why, but even using delete I get a warning say
something about UiOpenFileDialog class that is still exists
and won't be clean up...

> Note that the method for "cleaning up" things which require 
> it are well documented within MATLAB.  For example, check 
> out the documentation for TIMER and SERIAL.  They both show 
> the necessary "cleanup" steps.

I'll try looking for Cleanup in Matlab Help (I'm sorry if I
ask something stupid, but the fact is that for a non-english
speaker, sometimes it's difficult to use the right wordkey
for search!)

Thank you very much in advance!
Hope to see you soon!