Cfitsio Toolkit - matlab.io.fits.movRelHDU


: type = movRelHDU(file, hdunum)

Go to relative HDU index hdunum.

Returns the newly current HDU type as a string.

This is the equivalent of the cfitsio fits_movrel_hdu function.

Inputs

file - opened fits file.

hdunum - relative HDU number to move to.

Outputs

type - hdu type of the now current HDU.