Cfitsio Toolkit - matlab.io.fits.writeKey


: writeKey(file, key, value)
: writeKey(file, key, value, comment)
: writeKey(file, key, value, comment, decimals)

Append or replace a key in the fits file.

This is the equivalent of the cfitsio fits_write_key and fits_update_key function.

Inputs

file - opened fits file.

key - keyword name.

value - keyword value.

comment - keyword comment.

decimals - number of decimals.

Outputs

None