Cfitsio Toolkit - matlab.io.fits.readKeyCmplx
[value, comment] =readKeyCmplx(file,recname)Read the key value recname as a complex double.
This is the equivalent of the cfitsio fits_read_key_dblcmp function.
Inputs
file - opened fits file.
recname - keyword name.
Outputs
value - complex value of record.
comment - comment string