Cfitsio Toolkit - matlab.io.fits.insertBTbl
- : insertBTbl(file,
nrows, ttype, tform, tunit, extname, pcount)
Insert a new bintable extension.
This is the equivalent of the cfitsio fits_insert_btbl function.
Inputs
file - opened fits file.
nrows - initial number of rows (normally 0)
ttype - cell array of column type
tform - cell array of column format
tunit - cell array of column units
extname - optional extension name
pcount - heap size.
ttype, tform, tunit are expected to be the same size.
Outputs
None