MATLAB: Is there a difference between declaring a class property “Dependent” versus “Dependent = true”

dependentMATLABobject-orientedproperties

The title says it all. The documentation doesn't make it clear whether or not there is a difference between
properties(Dependent)
aProp
end
and
properties(Dependent=true)
aProp
end
since it uses both seemingly interchangeably. Is there a difference?

Best Answer

Yes, they are equivalent. Also, you can do,
properties(~Dependent)
aProp
end
as an equivalent to,
properties(Dependent=false)
aProp
end
See also,