도움말 센터도움말 센터
클래스: handle
이벤트가 발생했음을 리스너에 알림
notify(H,EventName) notify(H,EventName,data)
notify(H,EventName)은 H의 핸들 객체에서 명명된 이벤트가 발생했음을 리스너에 알립니다.
notify(H,EventName)
H
EventName
notify(H,EventName,data)는 사용자 정의 이벤트 데이터를 포함시킵니다.
notify(H,EventName,data)
data
모두 확장
이벤트 소스로, 핸들 배열로 지정됩니다. H의 모든 객체가 명명된 이벤트를 정의해야 합니다.
이벤트 이름으로, H의 클래스에 의해 정의된, 따옴표로 묶인 텍스트(대/소문자 구분)로 지정됩니다.
event.EventData
사용자 정의 이벤트 데이터로, event.EventData 클래스의 서브클래스인 객체로 지정됩니다. 이벤트 데이터를 정의하는 방법에 대한 자세한 내용은 이벤트 관련 데이터 정의하기 항목을 참조하십시오.
참고
이후에 notify를 호출할 때 리스너 콜백은 동일한 이벤트 데이터 객체를 재사용해서는 안 됩니다. notify에 전달할 이벤트 데이터 객체는 항상 새로 생성하십시오.
notify
Access
public
메서드의 특성에 대해 자세히 알아보려면 메서드 특성을 참조하십시오.
R2008a에 개발됨
addlistener | listener
addlistener
listener
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office