cdflib.getConstantValue
与通用数据格式(CDF)库常量对应的数值
语法
value = cdflib.getConstantValue(
constantName
)
描述
value = cdflib.getConstantValue(
中指定的CDF库常量的数值constantName
)constantName
.指定constantName
作为字符向量或字符串标量。要查看常量名称的列表,请使用cdflib.getConstantNames
.
例子
查看CDF库常量列表,并获取其中一个常量对应的数值。
检索库常量名称列表= cdflib.getConstantNames();值= cdflib.getConstantValue(名称{1}