FUNCTION REFERENCE
events
Events of a handle class.
Events of a handle class.
Syntax
events(obj); events('Name'); names = events(obj)An events block in a handle class file names the events its objects can send:
classdef Sensor < handle
events
Changed
end
endWithout an output it prints "Events for class Name:" and one event per line; with an output, a column cell. Inherited events are listed after the class's own. Only handle classes can define events.
Example
iskeyword('events') % falseDifferences from MATLAB: Event attributes (ListenAccess, NotifyAccess, Hidden) are accepted and not enforced.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.