Documentation Center

  • Trial Software
  • Product Updates

disp

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

Simple informal object display

Syntax

disp(obj)

Description

disp(obj) displays the contents of obj in one of four simple formats, based on the state of obj.

  • Handle to deleted object

  • Empty object array

  • Scalar

  • Nonscalar

To customize a display format, override one or more of the four handler methods.

Input Arguments

obj

Object of a class derived from matlab.mixin.CustomDisplay

Attributes

Access

public

Sealed

true

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

See Also

| | | | |

Related Examples

Was this topic helpful?