Main Content

Low-Level Functions

Interact directly with CFITSIO library functions

To use these functions, you should be familiar with the CFITSIO C API. In most cases, the syntax of the MATLAB® function is similar to the syntax of the corresponding CFITSIO library functions. The functions are implemented as the package matlab.io.fits. To use this package, prefix the function name with a package path, or use the import function to add the package to the current import list, prior to calling the function, for example,

import matlab.io.*;
fptr = fits.openFile('tst0012.fits');