Main Content

matlab.io.fits.readATblHdr

Read header information from current ASCII table

Syntax

[rowlen,nrows,ttype,tbcol,tform,tunit,extname] = readATblHdr(fptr)

Description

[rowlen,nrows,ttype,tbcol,tform,tunit,extname] = readATblHdr(fptr) reads header information for the current ASCII table.

This function corresponds to the fits_read_atblhdrll (ffghtbll) function in the CFITSIO library C API.

Examples

import matlab.io.*
fptr = fits.openFile('tst0012.fits');
fits.movAbsHDU(fptr,5);
[rowlen,nrows,ttype,tbcol,tform,tunit,extname] = fits.readATblHdr(fptr);
fits.closeFile(fptr);

See Also