Cfitsio Toolkit - matlab.io.fits.insertATbl


: insertATbl(file, rowlen, nrows, ttype, tbcol, tform)
: insertATbl(file, rowlen, nrows, ttype, tbcol, tform, tunit)
: insertATbl(file, tbltype, nrows, ttype, tbcol, tform, tunit, extname)

Insert a new ASCII table after current HDU.

This is the equivalent of the cfitsio fits_insert_atbl function.

Inputs

file - opened fits file.

rowlen - row length. If set to 0, the function will calculate size based on tbcol and ttype.

nrows - initial number of rows (normally 0)

ttype - cell array of column type

tbcol - array containing the start indices for each column.

tform - cell array of column format

tunit - cell array of column units

extname - optional extension name

Outputs

None