User`s guide

Programming
9-17
Growing Arrays Is Faster
This release improves the performance of growing an array in the trailing dimension if
that array has not been preallocated.
Error Checking Improved
MATLAB provides more effective error checking and returns new error messages in the
following cases.
Nonstatic Method
A reference to a class method using the class name is valid only in cases where the
method is static. Therefore, code of the form:
ClassName.ordinaryMethod
Where ordinaryMethod is not a static method of the class ClassName, previously
returned the error: MATLAB:class:InvalidStaticMethod.
This code now returns the error:
MATLAB:subscripting:classHasNoPropertyOrMethod
Nonexistent Method Name
A reference to a nonexistent method name:
obj.badName
Where badName is not a method defined by the class of obj, previously returned the
error: MATLAB:noSuchMethodOrField.
This code now returns the error:
MATLAB:subscripting:classHasNoPropertyOrMethod.
Compatibility Considerations
Code that checks for the specific errors previously returned must be updated to check for
the new errors.