Display format for deleted scalar handles
displayScalarHandleToDeletedObject(obj) is called by the disp method when obj is:
An instance of a handle class
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.
To learn about attributes of methods, see Method Attributes in the MATLAB® Object-Oriented Programming documentation.