Cfitsio Toolkit - matlab.io.fits.movNamHDU
- :
hdutype =
movNamHDU(file,hdutype, extname, extver)
Go to HDU matching hdutype, extname, extver.
This is the equivalent of the cfitsio fits_movnam_hdu function.
Inputs
file - opened fits file.
hdutype - HDU number to move to. Valid hdutype values are ’IMAGE_HDU’, ’ASCII_TBL’, ’BINARY_TBL’, ’ANY_HDU’.
extname, extver - EXTNAME and EXTVER keywords to match.
Outputs
hdutype - hdu type of the now current HDU.