This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


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

Display format for scalar objects




displayScalarObject(obj) is called by the disp method when the object, obj, is scalar (prod(size(obj)) == 1).

The default display of a scalar object consists of a header and a list of properties and their values. Properties are shown in the order they are defined in the class definition. displayScalarObject shows only those properties with public GetAccess and Hidden set to false.

Override this method to customize the display of a scalar object.

Input Arguments


Object of a class derived from matlab.mixin.CustomDisplay



To learn about attributes of methods, see Method Attributes in the MATLAB® Object-Oriented Programming documentation.

Was this topic helpful?