Main Content

matlab.io.fits.getConstantValue

指定常量的数值

语法

N = getConstantValue(name)

说明

N = getConstantValue(name) 返回与指定 CFITSIO 常量对应的数值,指定为字符向量或字符串标量。

示例

import matlab.io.*
n = fits.getConstantValue('BYTE_IMG');