MATLAB: Unable to Overload Subsasgn

overloadsubasgn

I'm trying to write a class that overloads the subsasgn function, but I am running into this rather cryptic error:
Class 'MyClass' is not allowed to define a 'subsasgn' method.
Since most of the documentation and discussion about subsasgn comes from the perspective of overloading it, I'm somewhat at a loss to determine why I cannot do this, so basically any suggestion of what might be happening is appreciated.
I'm subclassing dynamicprops, matlab.mixin.Heterogeneous, and matlab.mixin.Copyable. I was worried that it wasn't allowed to overload subsasgn with a class that subclasses dynamicprops, but I've tested that and it works fine in other cases.
I'm on R2012a.
This question follows up on the one I asked here, but since it's since it's separate I thought making a fresh one would be ok: http://www.mathworks.com/matlabcentral/answers/48406-setter-methods-for-dynamic-properties

Best Answer

The documentation is pretty clear on this:
"Cannot Redefine Indexing or Concatenation
The use of heterogeneous arrays requires consistent indexing and concatenation behaviors. Therefore, subclasses of matlab.mixin.Heterogeneous cannot change their default indexed reference, indexed assignment, or concatenation behavior.
You cannot override the following methods in your subclasses:
cat
horzcat
vertcat
subref
subsasign
In cases involving multiple inheritance in which your subclass inherits from superclasses in addition to matlab.mixin.Heterogeneous, the superclasses cannot define any of these methods."