Cfitsio Toolkit - matlab.io.fits.fileMode
- :
mode
=fileMode(file)
Return the file mode of the opened fits file.
This is the equivalent of the fits_file_mode function.
Inputs
file - opened fits file.
Outputs
mode - The mode will return as a string ’READWRITE’ or ’READONLY’