events
List the events declared by a class.
Syntax
Section titled “Syntax”s = events(object)s = events(classname)s = events(..., '-full')Description
Section titled “Description”Returns a cell array of event names declared by the class. Events are class-level signals that observers can subscribe to via addlistener.
Example
Section titled “Example”events(myObject)See also
Section titled “See also”addlistener— Subscribe a callback to an event of a handle object.notify— Trigger an event on a handle object.methods— List the methods of a class or object.properties— List the properties of a class or object.