Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Static Callback Methods?
Replies: 6   Last Post: Aug 5, 2010 5:01 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Joe Burgel

Posts: 25
Registered: 12/7/04
Re: Static Callback Methods?
Posted: Aug 5, 2010 8:06 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Just a comment. These function signatures that have different numbers
of arguments depending on context is very confusing. Is this explained
somewhere? I've already found the comment that ML object methods don't
implicitly have a reference to 'this' (the object) but I'd like to see
more examples on how to deal with this. For example:
addlistener(toggle_button_obj,'ToggledState',@(h, event)
handleEvnt(RTTobj,h, event));
Using an inline ftn handle to translate the method signature from
(RTTobj,h,event) to (h,event) ?? I'd like to know more about why when
and where I need to do such things.




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.