The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Problem with TreeView(uitree) and UIContextMenu
Replies: 6   Last Post: Feb 6, 2013 9:46 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Yair Altman

Posts: 1,407
Registered: 3/19/07
Re: Problem with TreeView(uitree) and UIContextMenu
Posted: Jan 31, 2013 1:39 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Steven_Lord" <> wrote in message <kee17v$kpf$>...
> "Yair Altman" <altmanyDEL@gmailDEL.comDEL> wrote in message
> news:kebv28$qov$
> *snip*

> > 2. getappdata - this was indeed removed for some inexplicable reason by
> > MathWorks (I believe in R2012a). Use try/catch and/or the object's
> > UserData or some other means of storing your data persistently. Bad, bad,
> > MathWorks!

> Could you clarify what you meant by this, Yair? I have release R2012b open
> and it recognizes GETAPPDATA just fine.

> >> version
> ans =
> (R2012b)

> >> help getappdata
> getappdata Get value of application-defined data.
> VALUE = getappdata(H, NAME) gets the value of the
> application-defined data with name specified by NAME in the
> object with handle H. If the application-defined data does
> not exist, an empty matrix will be returned in VALUE.
> *snip the rest*
> The online documentation also indicates that GETAPPDATA is still present.
> --
> Steve Lord
> To contact Technical Support use the Contact Us link on

Hi Steve - what I meant was that getappdata has stopped working for pure (un-handled) Java objects within the specific context of a callback function - it continues to work for regular HG handles, and even Java objects outside callbacks. I should probably have made this clear in my post above, so thanks for the chance to clarify.

If this would help get TMW to restore getappdata also for Java objects in callbacks, then all the better. When I first contacted the developers about this, I basically got a shrug... - using getappdata/setappdata this way is apparently not a supported functionality for some reason.

Yair Altman

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.