Cfitsio Toolkit - matlab.io.fits.movAbsHDU


: type = movAbsHDU(file, hdunum)

Go to absolute HDU index hdunum

Returns the newly current HDU type as a string.

This is the equivalent of the cfitsio fits_movabs_hdu function.

Inputs

file - opened fits file.

hdunum - HDU number to move to.

Outputs

type - hdu type of the now current HDU.