Skip to Main Content Skip to Search
Product Documentation

notify - Class: qrandstream

Notify listeners of event

Syntax

notify(h,'eventname')
notify(h,'eventname',data)

Description

notify(h,'eventname') notifies listeners added to the event named eventname on handle object array h that the event is taking place. h is the array of handles to objects triggering the event, and eventname must be a string.

notify(h,'eventname',data) provides a way of encapsulating information about an event which can then be accessed by each registered listener. data must belong to the event.eventdata class.

See Also

addlistener | event.EventData | events | qrandstream

  


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