Main Content

matlab.mixin.CustomDisplay.getClassNameForHeader

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

Return class name for display

Syntax

name = matlab.mixin.CustomDisplay.getClassNameForHeader(obj)

Description

name = matlab.mixin.CustomDisplay.getClassNameForHeader(obj) returns the class name of obj. If the display supports hypertext links, the class name is linked to the help for the class of obj. Use this method when building a custom display that includes the class name but differs from the default header.

Input Arguments

expand all

Object to return class name for.

Attributes

Statictrue
Accessprotected
Sealedtrue
Hiddentrue

To learn about attributes of methods, see Method Attributes.

Examples

See Customize Display of Object Arrays for an example of how to use getClassNameForHeader.

Version History

Introduced in R2013b