FUNCTION REFERENCE

handle

Base class of handle classes.

Base class of handle classes.

Syntax

classdef Name < handle ... end

Objects of a class derived from handle carry identity: copies refer to one object, == compares identity and delete invalidates every copy (see classdef). handle itself is abstract: handle() errors.

Example

iskeyword('classdef')   % true

Differences from MATLAB: The handle methods available are delete, eq, ne, isvalid, addlistener and notify; findobj, findprop and the ordering operators are not supported yet.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.