Main Content

matlab.mixin.CustomDisplay.convertDimensionsToString

Class: matlab.mixin.CustomDisplay
Namespace: matlab.mixin

Return array dimensions as text

Syntax

dimstr = matlab.mixin.CustomDisplay.convertDimensionsToString(obj)

Description

dimstr = matlab.mixin.CustomDisplay.convertDimensionsToString(obj) returns the dimensions of the object array as text for use in a custom header.

Input Arguments

expand all

Object array to display dimensions for. The class of obj must be derived from matlab.mixin.CustomDisplay.

Output Arguments

expand all

Dimensions of the object array, returned as a char vector.

Attributes

Statictrue
Accessprotected
Sealedtrue
Hiddentrue

To learn about attributes of methods, see Method Attributes.

Examples

For an example of a class that implements matlab.mixin.CustomDisplay.convertDimensionsToString, see Customize Display of Object Arrays.

Version History

Introduced in R2013b