Cfitsio Toolkit - matlab.io.fits.getHdrSpace


: [numkeys, freekeys] = getHdrSpace(file)

Get the number of keyword records used and available.

This is the equivalent of the cfitsio fits_get_hdrspace function.

Inputs

file - opened fits file.

Outputs

numkeys - number of existing keys.

freekeys - number of free key space.