Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: : [ ] function?
Date: Mon, 21 Jul 2008 19:05:21 +0000 (UTC)
Organization: Battelle Energy Alliance (INL)
Lines: 10
Message-ID: <g62mlh$hug$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>
Reply-To: <HIDDEN>
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 1216667121 18384 172.30.248.37 (21 Jul 2008 19:05:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 21 Jul 2008 19:05:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 688530
Xref: news.mathworks.com comp.soft-sys.matlab:480742




> 
> 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.