Documentation

This is machine translation

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

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

notify

Class: handle

Notify listeners that event is occurring

Syntax

notify(H,EventName)
notify(H,EventName,data)

Description

notify(H,EventName) notifies listeners that the named event is taking place on the handle objects in H.

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

Input Arguments

expand all

Event source, specified as a handle array. All of the objects in H must define the named event.

Name of event, specified as case-sensitive, quoted text that is defined by the class of H.

User-defined event data, specified as an object that is a subclass of the event.EventData class. For information on defining event data, see Define Event-Specific Data.

    Note:   Listener callbacks should not reuse the same event data object in subsequent calls to notify. Always create a new event data object to pass to notify.

Attributes

Accesspublic

To learn about attributes of methods, see Method Attributes in the MATLAB® Object-Oriented Programming documentation.

Was this topic helpful?