matlab.io.fits.writeComment
Write COMMENT keyword to current
HDU
Syntax
matlab.io.fits.writeComment(fptr,comment)
Description
matlab.io.fits.writeComment(fptr,comment) writes
(appends) the comment text to a COMMENT keyword in the
current HDU. Specify the comment argument as a string scalar or character
vector. If comment is longer than 70 characters, the function writes the
text over multiple COMMENT keywords.
Examples
Tips
This function corresponds to the
fits_write_comment(ffpcom) 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.