MATLAB 帮助中心
CDFX 对象中的参数实例
iList = instanceList(cdfxObj)
iList = instanceList(cdfxObj,instName)
iList = instanceList(cdfxObj,instName,sysName)
iList = instanceList(cdfxObj) 返回包含 CDFX 对象中每个参数实例的表。
iList
cdfxObj
iList = instanceList(cdfxObj,instName) 返回一个表,其中包含 CDFX 对象中 ShortName 与 instName 相匹配的所有参数实例。
instName
ShortName
iList = instanceList(cdfxObj,instName,sysName) 返回一个表,其中包含 CDFX 对象中 ShortName 与 instName 相匹配且父级 System 与 sysName 相匹配的所有参数实例。
sysName
System
示例
全部折叠
创建一个 asam.cdfx 对象并查看其参数实例。
asam.cdfx
cdfxObj = cdfx('c:\DataFiles\AllCategories_VCD.cdfx'); iList = instanceList(cdfxObj); iList(1:4,1:4)
ans = 4×4 table ShortName System Category Value _______________ _________ _________ _____________________________________ "VALUE_NUMERIC" "System1" "VALUE" [ 12.2400] "VALUE_TEXT" "System1" "VALUE" ["Text_Value" ] "BLOB_HEX" "System1" "BLOB" ["0102030405060708 090A0B0C0D0E0F10"] "BOOLEAN_TEXT" "System1" "BOOLEAN" [ 1]
iList = instanceList(cdfxObj,"VALUE_NUMERIC")
iList = 1×6 table ShortName System Category Value Units FeatureReference _______________ _________ ________ _________ _____ ________________ "VALUE_NUMERIC" "System1" "VALUE" [12.2400] "" "model1"
iList = instanceList(cdfxObj,"VALUE_NUMERIC","System1")
CDFX 文件对象,指定为 asam.cdfx 对象。使用该对象访问标定数据。
示例: cdfx()
cdfx()
实例名称,指定为字符串。
示例: "NUMERIC_VALUE"
"NUMERIC_VALUE"
数据类型: string
string
父级系统名称,指定为字符串。
示例: "System2"
"System2"
实例列表,以表形式返回。
在 R2019a 中推出
cdfx
systemList
getValue
setValue
write
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处