Main Content

matlab.io.fits.getOpenFiles

Get list of open FITS files

Syntax

fptrs = getOpenFiles()

Description

fptrs = getOpenFiles() returns a list of file pointers of all open FITS files.

Examples

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