Department
Salary
Password
isscalar(emt)
ans =
0
Default Display — Handle to Deleted Object
When a handle object is deleted, the handle variable can remain in the workspace.
delete(Emp123)
Emp123
Emp123 =
handle to deleted EmployeeInfo
Testing for Handles to Deleted Objects
To test for a handle to a deleted object, use isvalid.
Noteisvalid is a handle class method. Calling isvalid on a value class object causes
an error.
Default Display — Detailed Display
The details method does not support customization and always returns the standard
detailed display:
details(Emp123)
EmployeeInfo handle with properties:
Name: 'Bill Tork'
JobTitle: 'Software Engineer'
Department: 'Product Development'
Salary: 1000
Password: 'bill123'
Methods, Events, Superclasses
Class with Default Object Display