Main Content

matlab.io.fits.readKeyCmplx

Keyword as complex scalar value

Syntax

[value,comment] = readKeyCmplx(fptr,keyname)

Description

[value,comment] = readKeyCmplx(fptr,keyname) returns the specified key and comment. value is returned as a double precision complex scalar value.

This function corresponds to the fits_read_key_dblcmp (ffgkym) function in the CFITSIO library C API.