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
type = getHDUtype(file)Return the current HDUs type as a string.
This is the equivalent of the cfitsio fits_get_hdu_type function.
file - opened fits file.
type - current hdu type