Cfitsio Toolkit - matlab.io.fits.readKeyUnit


: keyunit = readKeyUnit(file, recname)

Read the physical key units value recname.

This is the equivalent of the cfitsio fits_read_key_unit function.

Inputs

file - opened fits file.

recname - keyword name.

Outputs

keyunit - units value of record.