matlab.io.fits.deleteFile
Delete FITS file
Syntax
matlab.io.fits.deleteFile(fptr)
Description
matlab.io.fits.deleteFile(fptr) closes and deletes an open FITS file.
This function can be useful if a FITS file cannot be closed properly.
Examples
Tips
This function corresponds to the
fits_delete_file(ffdelt) 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.