Main Content

matlab.io.fits.getConstantValue

Numeric value of named constant

Syntax

N = getConstantValue(name)

Description

N = getConstantValue(name) returns the numeric value corresponding to the named CFITSIO constant specified as a character vector or string scalar.

Examples

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