matlab.io.fits.createFile
Create FITS file
Syntax
fptr = matlab.io.fits.createFile(filename)
Description
fptr = matlab.io.fits.createFile(filename)
creates a FITS file. Specify filename as a string scalar or character
vector. If the specified file already exists, the function issues an error, unless the
filename is prefixed with an exclamation mark (!). In that case, the
function overwrites any existing file with the same name.
Examples
Tips
This function corresponds to the
fits_create_file(ffinit) function in the CFITSIO library C API.To use this function, you must be familiar with the CFITSIO C interface. You can access the CFITSIO documentation at the CFITSIO website.