matlab.io.fits.writeCol
Write elements into ASCII or binary table column
Syntax
matlab.io.fits.writeCol(fptr,colnum,firstrow,coldata)
Description
matlab.io.fits.writeCol(fptr,colnum,firstrow,coldata) writes
elements into an ASCII or binary table extension column. When you write rows of data to
a variable-length field, coldata must be a cell array.
Note
If you use this function to write complex data to a column defined by a
noncomplex data type, then the function ignores the imaginary part and writes
only the real part to the column. To write complex-valued data, specify a
complex format for the table column by using the tform
argument of the matlab.io.fits.createTbl
function.
Examples
Tips
This function corresponds to the
fits_write_col(ffpcl) 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.