Cfitsio Toolkit - matlab.io.fits.getHDUtype


: type = getHDUtype(file)

Return the current HDUs type as a string.

This is the equivalent of the cfitsio fits_get_hdu_type function.

Inputs

file - opened fits file.

Outputs

type - current hdu type