notify
클래스: handle
이벤트가 발생했음을 리스너에 알림
구문
notify(H,EventName)
notify(H,EventName,data)
입력 인수
H
— 이벤트 소스
핸들 배열
이벤트 소스로, 핸들 배열로 지정됩니다. H
의 모든 객체가 명명된 이벤트를 정의해야 합니다.
EventName
— 이벤트 이름
문자형 벡터 | string형 스칼라
이벤트 이름으로, H
의 클래스에 의해 정의된, 따옴표로 묶인 텍스트(대/소문자 구분)로 지정됩니다.
data
— 사용자 정의 이벤트 데이터
event.EventData
의 서브클래스
사용자 정의 이벤트 데이터로, event.EventData
클래스의 서브클래스인 객체로 지정됩니다. 이벤트 데이터를 정의하는 방법에 대한 자세한 내용은 이벤트 관련 데이터 정의하기 항목을 참조하십시오.
참고
이후에 notify
를 호출할 때 리스너 콜백은 동일한 이벤트 데이터 객체를 재사용해서는 안 됩니다. notify
에 전달할 이벤트 데이터 객체는 항상 새로 생성하십시오.
확장 기능
스레드 기반 환경
MATLAB®의 backgroundPool
을 사용해 백그라운드에서 코드를 실행하거나 Parallel Computing Toolbox™의 ThreadPool
을 사용해 코드 실행 속도를 높일 수 있습니다.
버전 내역
R2008a에 개발됨
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)