matlab.io.fits.movRelHDU
Move relative number of HDUs from current HDU
Syntax
htype = matlab.io.fits.moveRelHDU(fptr,nmove)
Description
htype = matlab.io.fits.moveRelHDU(fptr,nmove) moves a relative
number of HDUs forward or backward from the current HDU and returns the type of the
resulting HDU. The function returns htype as
'IMAGE_HDU', 'ASCII_TBL', or
'BINARY_TBL'.
Examples
Tips
This function corresponds to the
fits_movrel_hdu(ffmrhd) function in the CFITSIO library C API.To use this function, you must be familiar with the CFITSIO C interface. You can access the CFITSIO documentation at the CFITSIO website.