matlab.io.fits.movNamHDU
Move to first HDU having specific type and keyword values
Syntax
matlab.io.fits.movNamHDU(fptr,hdutype,extname,extver)
Description
matlab.io.fits.movNamHDU(fptr,hdutype,extname,extver) moves to the
first HDU that has the specified extension type and whose EXTNAME and
EXTVER keywords (or HDUNAME and
HDUVER keywords) have the values specified by
extname and extver, respectively.
Specify the hdutype argument as one of these values:
"IMAGE_HDU""ASCII_TBL""BINARY_TBL""ANY_HDU"
If you specify hdutype as "ANY_HDU", then the
function uses only the extname and extver values
to locate the extension. If you specify extver as
0, then the function ignores the extver argument
and moves to the first HDU with a matching EXTNAME (or
HDUNAME) key value.
Examples
Tips
This function corresponds to the
fits_movnam_hdu(ffmnhd) 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.