Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 character vector.

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.

Was this topic helpful?