From: Eike Wolgast on
Hello,

I use isprop to identify wheter a property exists, but isprop returns
always zero.

Example:
---------------------------
classdef class
properties
a
end

methods
function obj = test_prop(obj)
isprop(obj, 'a')
end
end

end
----------------------------
a = class;
a.test_prop;
---------------------------

And it returns zero?!

Can anybody help me?

Regards
Eike
From: Steven Lord on

"Eike Wolgast" <eike.wolgast(a)googlemail.com> wrote in message
news:0df9e07e-2f7c-4727-b24d-48735315ead9(a)r27g2000yqb.googlegroups.com...
> Hello,
>
> I use isprop to identify wheter a property exists, but isprop returns
> always zero.

http://www.mathworks.com/support/solutions/en/data/1-6GBSEL/?solution=1-6GBSEL

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com


From: Eike Wolgast on
Thank you,

this was exactly what I was looking for.