Main Content
matlab.io.fits.closeFile
Close FITS file
Syntax
closeFile(fptr)
Description
closeFile(fptr)
closes an open FITS file.
This function corresponds to the fits_close_file (ffclos)
function
in the CFITSIO library C API.
Examples
import matlab.io.* fptr = fits.openFile('tst0012.fits','READONLY'); fits.closeFile(fptr);