Path: news.mathworks.com!not-for-mail
From: "ching l" <chinglnc@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: : [ ] function?
Date: Mon, 21 Jul 2008 19:23:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <g62nmn$13$1@fred.mathworks.com>
References: <g5sevj$ra1$1@fred.mathworks.com> <muyvdyz6qse.fsf@G99-Boettcher.llan.ll.mit.edu> <g62l0f$soe$1@fred.mathworks.com> <g62mlh$hug$1@fred.mathworks.com>
Reply-To: "ching l" <chinglnc@hotmail.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 1216668183 35 172.30.248.37 (21 Jul 2008 19:23:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 21 Jul 2008 19:23:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1438759
Xref: news.mathworks.com comp.soft-sys.matlab:480745



"Matt Fig" <spamanon@yahoo.com> wrote in message
<g62mlh$hug$1@fred.mathworks.com>...
> 
> > 
> > my problem is, it doesnt do this- "It creates a variable "a"
> > in the workspace of the callback function"...
> 
> 
> Take off the semicolon.  If you see the variable a printed
> to the command window, then yes it does create it in the
> callback.
> 

ahhh!! such a silly mistake!! I really thought it's doing
nothing because there is no variable in the workspace!

Thanks a ton!