Setting the Sealed
attribute to true
prevents you from setting the AllowedSubclasses
attribute to
anything but an empty cell array ({}
).
Do not set the AllowedSubclasses
attribute if the
Sealed
attribute is set to true
.