User`s guide

R2013a
5-8
Changes to subclasses of built-in classes
Subclasses of built-in classes no longer inherit the following methods:
ones
zeros
true
false
cast
As a result of this change, you cannot call these methods with an object of a built-in
subclass. For example, given a class, mySubclassOfDouble, that derives from double,
the following attempt to call cast results in an error:
a = mySubclassOfDouble(1); % constructor
b = a.cast('int8'); % ok in R2012b but errors in R2013a
However, you can call the corresponding built-in functions with objects of the subclass.
Use the function syntax instead of the method dot notation syntax:
b = cast(a,'int8');
Compatibility Considerations
Change code that attempts to call these methods to call the built-in function instead. Use
function syntax instead of dot notation, as described in the previous section.
Conversion of error and warning message identifiers
For R2013a, error and warning message identifiers have changed in MATLAB.
Compatibility Considerations
If you have scripts or functions that use message identifiers that changed, you must
update the code to use the new identifiers. Typically, message identifiers are used to turn
off specific warning messages, or in code that uses a try/catch statement and performs an
action based on a specific error identifier.