Cfitsio Toolkit - matlab.io.fits.deleteHDU


: type = deleteHDU(file)

Delete the current HDU and go to next HDU.

Returns the newly current HDU type as a string.

This is the equivalent of the cfitsio fits_delete_hdu function.

Inputs

file - opened fits file.

Outputs

type - string value for type of the next HDU.