Documentation

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.

displayScalarHandleToDeletedObject

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

Display format for deleted scalar handles

Syntax

displayScalarHandleToDeletedObject(obj)

Description

displayScalarHandleToDeletedObject(obj) is called by the disp method when obj is:

  • An instance of a handle class

  • Scalar

  • A handle to a deleted object

That is, the following expression is true.

isa(obj,'handle') && isscalar(obj) && ~isvalid(obj) 

Override this method to customize the appearance of your object's display when it is deleted.

Input Arguments

obj

Object of a class derived from matlab.mixin.CustomDisplay

Attributes

Accessprotected

To learn about attributes of methods, see Method Attributes.

Was this topic helpful?