FUNCTION REFERENCE
notify
Send an event of a handle object to its listeners.
Send an event of a handle object to its listeners.
Syntax
notify(obj, 'EventName'); notify(obj, 'EventName', data)Calls each listener of that event with the object and an event data struct with the fields Source and EventName; the fields of a scalar struct data are added to it. The event must be declared in an events block of the class or a superclass. An error in a callback is shown as a warning and the other listeners still run.
Example
exist('notify') % 2Differences from MATLAB: Event data is a struct; event.EventData subclasses are not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.