MATLAB Object-Oriented Programming

(Joyce) #1
MATLAB follows a similar sequence for nonscalar object arrays and empty object arrays.

In the case of scalar handles to deleted objects, disp calls the
displayScalarHandleToDeletedObject method, which displays the default text for
handles to deleted objects without calling any part-builder methods.

Methods Called for a Given Object State


The following diagram illustrates the methods called to display an object that derives
from CustomDisplay. The disp method calls the state handler method that is
appropriate for the state of the object or object array being displayed.

Only an instance of a handle class can be in a state of scalar handle to a deleted object.

18 Customizing Object Display

Free download pdf