Cfitsio Toolkit - matlab.io.fits.getNumCols


: ncols = getNumCols(file)

Get number of columns.

This is the equivalent of the cfitsio fits_get_num_cols function.

Inputs

file - opened fits file.

Outputs

ncols - the number of columns in the table.