Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Axes tools in GUI
Date: Tue, 1 Jul 2008 20:18:23 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 11
Message-ID: <g4e3ef$d6o$1@canopus.cc.umanitoba.ca>
References: <g414n2$no7$1@fred.mathworks.com> <g4dp9g$l9p$1@fred.mathworks.com> <g4e1o9$apk$1@canopus.cc.umanitoba.ca> <g4e2su$iu2$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1214943503 13528 192.70.172.160 (1 Jul 2008 20:18:23 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Tue, 1 Jul 2008 20:18:23 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:476975



In article <g4e2su$iu2$1@fred.mathworks.com>,
David  <daviddoria@gmail.com> wrote:
>This is what I never understood about function handles. 
>Where did you "pass" the values of src and evt to the function??

You don't, not unless you call the function handle yourself.
Remember, this is a callback that is being created: when
Matlab calls a callback that is a function handle, it automatically
supplies the source and event parameters.
-- 
  "The shallow murmur, but the deep are dumb." -- Sir Walter Raleigh