Main Content

matlab.io.fits.getAColParms

Get ASCII table information

Syntax

[ttype,tbcol,tunit,tform,scale,zero,nulstr,tdisp] = getAColParms(fptr,colnum)

Description

[ttype,tbcol,tunit,tform,scale,zero,nulstr,tdisp] = getAColParms(fptr,colnum) gets information about an existing ASCII table column.

This function corresponds to the fits_get_acolparms (fffacl) function in the CFITSIO library C API.

Examples

import matlab.io.*
fptr = fits.openFile('tst0012.fits');
fits.movAbsHDU(fptr,5);
[ttype,tbcol,tunit,tform,scale,zero,nulstr,tdisp] = fits.getAColParms(fptr,2);
fits.closeFile(fptr);

See Also