displayNonScalarObject
Class: matlab.mixin.CustomDisplay
Namespace: matlab.mixin
Display format for nonscalar objects
Syntax
displayNonScalarObject(obj)
Description
displayNonScalarObject(
is called by the
obj
)disp
method when obj
is nonscalar
(prod(size(obj)) > 1
). Override this method to customize the display
of a nonscalar object array.
The default display of a nonscalar object array consists of a header and a list of
property names. The header shows the dimensions of the object array. The properties appear in
the order defined in the class definition. displayNonScalarObject
shows
only those properties with GetAccess
set to public
and
Hidden
set to false
.
Input Arguments
Examples
For an example of a class that implements displayNonScalarObject
, see
Customize Display of Object Arrays.
Version History
Introduced in R2013b