Main Content

matlab.mixin.CustomDisplay.convertDimensionsToString

Class: matlab.mixin.CustomDisplay
Package: matlab.mixin

Return array dimensions as text

Syntax

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

Description

dimstr = matlab.mixin.CustomDisplay.convertDimensionsToString(obj) converts a size vector into a properly formatted text of dimensions for the nonscalar header.

Input Arguments

obj

MATLAB® object

Output Arguments

dimstr

Text representing the object’s dimensions as determined by calling size.

Attributes

Statictrue
AccessProtected
Sealedtrue
Hiddentrue

To learn about attributes of methods, see Method Attributes.