User`s guide

R2011b
8-14
end
end
Then call the built-in version of disp:
>> builtin('disp',TestClass.empty)
0x0 empty TestClass
Properties:
PropertyA
Methods
In previous releases, calling the built-in disp function did not display anything with
empty objects.
MATLAB Warns if Class Defines Property as Dependent and Constant
MATLAB now issues a warning if a class defines properties as both Dependent and
Constant. In a future release, this warning will become an error.
Support for Switch/Case Statements with Objects
You can construct switch statement blocks using objects as both the switch expression
and the case expression. The object’s class must define or inherit an eq (==) method. See
Using Switch/Case Statements with Objects in Functions Used with Objects for more
information.
Functionality Being Removed or Changed
Functionality What Happens
When You Use
This Functionality?
Use This Instead Compatibility Considerations
nargchk Still runs narginchk Accepts only min and max
inputs, returns no output,
generates error.
nargoutchk Still runs nargoutchk
(see new
syntax)
Accepts only min and max
inputs, returns no output,
generates error.