matlab.io.fits.readKey
Read key value
Syntax
[value,comment] = matlab.io.fits.readKey(fptr,keyname)
Description
[value,comment] = matlab.io.fits.readKey(fptr,keyname) returns
the specified key value and comment. Specify the keyname argument
as a string scalar or character vector. The function returns value
and comment as character vectors.
Examples
Tips
This function corresponds to the
fits_read_key_str(ffgkys) function in the CFITSIO library C API.To use this function, you must be familiar with the CFITSIO C interface. You can access the CFITSIO documentation at the CFITSIO website.