From: "Darik Gamble" <dgamble_no_spam@engmail.uwaterloo.ca>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: Re: How to add a new property to a handle?
Message-ID: <ef537ba.10@webcrossing.raydaftYaTP>
Date: Thu, 19 Apr 2007 22:39:54 -0400
References: <ev3nli$g8b$1@canopus.cc.umanitoba.ca> <ef537ba.3@webcrossing.raydaftYaTP> <ef537ba.4@webcrossing.raydaftYaTP> <ef537ba.5@webcrossing.raydaftYaTP> <ef537ba.9@webcrossing.raydaftYaTP>
Lines: 19
NNTP-Posting-Host: 129.97.30.18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:404272



Now that I've gotten a chance to play around with this, it seems you
can't set or get the custom properties at the same time as the
default ones, though they seem fine together with findobj. Has this
been your experience as well?

e.g.

h = axes;
schema.prop(h, 'myProp', 'mxArray');

set(h, 'myProp', rand) %No problem

set(h, 'myProp', rand, 'Visible', 'on')

??? Error using ==> set
Invalid axes property: 'myProp'.

This is a pretty minor problem for an incredibly useful feature, but
I was just curious.