Documentation Center

  • Trials
  • Product Updates

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.

Input 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 Events and Listeners — Syntax and Techniques

handle, addlistener

Was this topic helpful?