Cfitsio Toolkit - matlab.io.fits.getHDUnum
num=getHDUnum(file)Return the index of the current HDU.
This is the equivalent of the cfitsio fits_get_hdu_num function.
Inputs
file - opened fits file.
Outputs
num - current hdu number.
num = getHDUnum(file)Return the index of the current HDU.
This is the equivalent of the cfitsio fits_get_hdu_num function.
file - opened fits file.
num - current hdu number.