matlab.mixin.CustomDisplay.convertDimensionsToString - Return array dimensions as text - MATLAB (original) (raw)

Main Content

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

Return array dimensions as text

Syntax

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

Description

[dimstr](#mw%5Ff0c95940-9c07-4055-84ab-493a5c2307b6) = matlab.mixin.CustomDisplay.convertDimensionsToString([obj](#mw%5Fec0cefa6-477a-495a-b95c-1d8d85c0fde7)) 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

Static true
Access protected
Sealed true
Hidden true

To learn about attributes of methods, seeMethod Attributes.

Examples

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

Version History

Introduced in R2013b