Cfitsio Toolkit - matlab.io.fits.readKey
- :
[keyvalue, keycomment] =
readKey(file,recname)
Read the keyword value and comment for name recname.
This is the equivalent of the cfitsio fits_read_key_str function.
Inputs
file - opened fits file.
recname - keyword name.
Outputs
keyvalue - string value of record.
keycomment - comment string