Main Content

matlab.display.DisplayConfiguration Class

Namespace: matlab.display

Describe display environment and settings

Since R2021b

Description

The matlab.display.DisplayConfiguration class provides the environmental information required to build the compact display representation of an object array. When an object array must be displayed in a limited amount of space, such as when it is held within a structure, cell array, or table, MATLAB® provides a DisplayConfiguration object to communicate the current display context.

The container displaying the object array instantiates this class, so you are not required to create an object of the class directly.

Class Attributes

Sealed
true

For information on class attributes, see Class Attributes.

Properties

expand all

Ellipsis symbol representing a portion of the data in an object array, specified as a string scalar. If you start MATLAB normally without the -nodesktop option, the default property value corresponds to the Unicode® code value of 8230 (that is, string(char(8230)). Otherwise, the default value is "...".

Attributes:

GetAccess
public
SetAccess
public

Delimiters used to wrap the annotation, specified as the string array ["(" ")"].

Attributes:

GetAccess
public
Constant
true
NonCopyable
true

Padding placed before the annotation to separate it from its preceding text, specified as a string scalar composed of one whitespace character.

Attributes:

GetAccess
public
Constant
true
NonCopyable
true

Default number of spaces between the elements of an object array's plain-text representation, specified as the numeric value 4.

Attributes:

GetAccess
public
Constant
true
NonCopyable
true

Default number of spaces between the array dimensions and class name, specified as the numeric value 1.

Attributes:

GetAccess
public
Constant
true
NonCopyable
true

Inter-element delimiter used to separate the elements of an object array's plain-text representation, specified as a string scalar composed of whitespace characters. The number of whitespace characters in the string is equal to DefaultPadSize.

Attributes:

GetAccess
public
Constant
true
NonCopyable
true

Padding used to separate the array dimensions and class name, specified as a string scalar composed of whitespace characters. The number of whitespace characters in the string is equal to DefaultPaddingSizeBetweenDimensionsAndClassName.

Attributes:

GetAccess
public
Constant
true
NonCopyable
true

Methods

expand all

Version History

Introduced in R2021b

expand all