Main Content

matlab.display.CompactDisplayRepresentation class

Package: matlab.display

Base class for representing compact display of object array

Description

The matlab.display.CompactDisplayRepresentation class is the base class of the hierarchy of classes that represent the compact display of an object array. Its subclasses supports two types of representations:

Class Attributes

Abstract
true

For information on class attributes, see Class Attributes.

Properties

expand all

Descriptive comment about the object array shown as part of its compact display representation, specified as an N-by-1 string array. The shape of Annotation depends on the display layout:

  • Single-line layout — A string scalar

  • Columnar layout — An N-by-1 array of string scalars, where N is the number of rows in the object array

Attributes:

GetAccess
public
SetAccess
immutable

Finalized padded display text, specified as an N-by-1 string array. The shape of PaddedDisplayOutput depends on the display layout:

  • Single-line layout — A padded string scalar

  • Columnar layout — An N-by-1 array of padded string scalars, where N is the number of rows in the object array

Attributes:

GetAccess
public
SetAccess
immutable

Character width of the finalized padded display text, specified as a numeric array. The shape of CharacterWidth depends on the display layout:

  • Single-line layout — A numeric scalar

  • Columnar layout — An N-by-1 array of numeric scalars, where N is the number of rows in the object array

Attributes:

GetAccess
public
SetAccess
immutable
Introduced in R2021b