matlab.io.fits.writeChecksum
Compute and write checksum for current HDU
Syntax
matlab.io.fits.writeChecksum(fptr)
Description
matlab.io.fits.writeChecksum(fptr) computes and writes
the DATASUM and CHECKSUM key values
for the current HDU into the current header. If the keywords already exist,
then the function writes the values only if necessary (for example, if the
file has been modified since the original key values were computed).
Examples
Tips
This function corresponds to the
fits_write_chksum(ffpcks) 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.