Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: error
Date: Thu, 5 Jun 2008 08:18:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 25
Message-ID: <g287fp$kf2$1@fred.mathworks.com>
References: <g27ddf$2gn$1@fred.mathworks.com> <g27gvr$7pq$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1212653881 20962 172.30.248.35 (5 Jun 2008 08:18:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 5 Jun 2008 08:18:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1406713
Xref: news.mathworks.com comp.soft-sys.matlab:472297



"Erik " <emiehling@gmail.com> wrote in message 
<g27gvr$7pq$1@fred.mathworks.com>...
> "lichao qi" <qilichao1106@126.com> wrote in message
> <g27ddf$2gn$1@fred.mathworks.com>...
> > when i open a finished gui .fig file with the guide,it 
is 
> > ok.However the error happen once i double click it.do 
> > anybody know why?
> 
> Can you elaborate a bit? What are you clicking on? The
> figure background? Maybe attach some code as well. I wish 
I
> could read minds, but I can't.
thank you for your attention ,i think i did not make it 
clear.i mean error happens when i double click the figure 
file.Actually i have solved the problem.while programing ,i 
used the command line "set
(handle.out,'string','output')"(handle.out is a handle 
corresponding to a Edit Text)in the opening function,and it 
worked well.then i used the global varible "handles.out" in 
a callback funtion ,for i thought  the varible had been 
defined.NO!it was not .so the error mentioned above 
happened.Everything is all right after i defined the  
varible handle.out with command line"handle.out=hObject" in 
the out_CreatFcn funtion.