User`s guide
R2009b
15-22
obj(int).Prop(n)
where int is a positive integer.
Equality of Objects Using isequal Now Ignores Numeric Class
Before MATLAB 7.9, an expression such as:
isequal(a,b)
returned false in cases where a and b are objects of the same class that have properties
set to numeric values which are mathematically equivalent, but of different classes (for
example, double and single),
The behavior of isequal in MATLAB 7.9 is consistent with the documented behavior
(see isequal). isequal does not consider class when comparing numeric values.
Class Defining Private/Abstract Property Now Errors
MATLAB 7.9 returns an error when it loads a class that defines a property as both
Abstract and Private.
Subclasses of Built-in Classes and numel
Before MATLAB 7.9, the numel function did not return the same results for built-in
classes and subclasses of built-in classes. In MATLAB 7.9, the behavior of numel is
consistent with built-in classes and subclasses of built-in classes. See Understanding size
and numel for a discussion of the current behavior.
Array Expansion with Indexed Assignment
Before MATLAB 7.9, initializing a handle object array by specifying the last element in
the array to create it:
obj(10) = MyClass;
resulted in the same handle being assigned from the second to the penultimate elements
of the array. With MATLAB 7.9, all elements in the handle object array have unique
handles. See Creating Object Arrays for more information on the current behavior.