notify (handle) - notify listeners that event is occurring

Syntax

notify(Hobj,'EventName')
notify(Hobj,'EventName',data)

Description

notify(Hobj,'EventName') notifies listeners that the specified event is taking place on the specified handle objects.

notify(Hobj,'EventName',data) includes user-defined event data.

Arguments

Hobj

Array of handle objects triggering the specified event.

EventName

Name of the event.

data

An event.EventData object encapsulating information about the event. You can define custom event data by subclassing event.EventData and passing an instance of your subclass as the data argument. See Defining Event-Specific Data for information on defining event data.

See Also

See Defining Events and Listeners — Syntax and Techniques

handle, addlistener

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS