Notify listeners of event
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.