events
事件名称
说明
示例
输入参数
ClassName
— 类名
字符向量 | 字符串标量
类名,指定为字符向量或字符串。
数据类型: char
| string
obj
— 对象
MATLAB 对象
MATLAB 对象,指定为标量对象或对象数组。
输出参量
e
— 事件名称
元胞数组
字符向量元胞数组中包含的事件名称。
详细信息
公共事件
事件的 ListenAccess
属性值是 public
并且其 Hidden
属性值是 false
(两个属性的默认值)时,该事件为公共事件。有关完整的属性列表,请参阅Event Attributes。
事件关键字
events
还是 MATLAB 类定义关键字。有关类定义关键字的详细信息,请参阅 classdef
。
扩展功能
基于线程的环境
使用 MATLAB® backgroundPool
在后台运行代码或使用 Parallel Computing Toolbox™ ThreadPool
加快代码运行速度。
此函数完全支持基于线程的环境。有关详细信息,请参阅在基于线程的环境中运行 MATLAB 函数。
版本历史记录
在 R2008a 中推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 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)