帮助中心帮助中心
集体枚举成员和名称
枚举className
枚举(OBJ)
M =枚举(___)
[m,s] =枚举(___)
例子
枚举班级名称显示MATLAB的枚举成员的名称®名字的课班级名称。
枚举班级名称
班级名称
枚举(OBJ)显示枚举成员的名称OBJ。
OBJ
m=枚举(___)返回列矢量中的枚举成员m。
m=枚举(___)
m
[[m,,,,s] = enumeration(___)返回列矢量中的枚举成员m和单元格数组中的成员名称s。名称中的s与枚举成员的相应元素m。
[[m,,,,s] = enumeration(___)
s
全部收缩
Display the enumeration member names for the matlab.lang.OnOffSwitchState class.
枚举matlab.lang.onoffswitchstate
“ matlab.lang.onoffswitchstate”类的枚举成员:关闭
使用枚举成员对象显示MATLAB.LANG.ONOFFSWITCHSTATE类的枚举成员名称。
e = matlab.lang.onoffswitchstate.off;枚举(E)
Return the enumeration members for the matlab.lang.OnOffSwitchState class in a column vector.
M =枚举('matlab.lang.onoffswitchstate')
M = 2x1 Onoffswitchstate枚举阵列打开
返回列中的Matlab.lang.onoffswitchstate类中的枚举成员和单元格数组中的枚举名称。
[m,s] =枚举('matlab.lang.onoffswitchstate')
s=2x1单元{'off'} {'on'}
枚举类名称,指定为字符向量或字符串标量。
数据类型:char|细绳
char
细绳
枚举类的实例。
枚举成员,作为列向量返回。
枚举成员名称,作为字符向量的单元格数组返回。
Behavior of the枚举功能。
枚举
来自内置类的枚举类可以为给定的枚举成员指定多个名称。
当您致电枚举函数没有输出参数,MATLAB显示器only the first name for each enumeration member (as specified in the class definition). To see all available enumeration members and their names, use the two output arguments. For example,[M,S] =枚举(OBJ);。
[M,S] =枚举(OBJ);
背景池
螺纹池
此功能完全支持基于线程的环境。金宝app有关更多信息,请参阅在基于线程的环境中运行MATLAB功能。
ClassDef
Si Discone di Una版本di Questo Esempio。Desideri Aprire Questo Esempio con le tue modifiche?
Hai Fatto Clic Su Un Collegamento Che Corisponde A Questo Comando Matlab:
Esegui Il comando inserendolo nella finestra di comando matlab。我浏览网络非支持者我comandi 金宝appmatlab。
选择一个网站以获取可用的翻译内容,并查看本地事件和优惠。根据您的位置,我们建议您选择:。
您还可以从以下列表中选择一个网站:
选择中国网站(中文或英语)以获得最佳场地性能。其他Mathworks乡村网站未针对您所在的访问进行优化。
联系您当地的办公室