File: coda_clearall.m

package info (click to toggle)
coda 2.20-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 11,292 kB
  • sloc: ansic: 124,817; sh: 4,657; java: 2,391; python: 1,091; yacc: 1,003; makefile: 596; lex: 204; fortran: 60; xml: 5
file content (21 lines) | stat: -rw-r--r-- 900 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
function varargout = coda_clearall(varargin)
% CODA_CLEARALL  Close all open product files and remove data dictionary
%   from memory.
%
%   CODA_CLEARALL will close all currently open product files (similar
%   to calling coda_close for all open product files). This can be
%   especially helpful to close files for which you have lost the file
%   handle (something that can occur if you were running an M file that
%   opened a product file, but terminated halfway and thus left the file
%   open).
%
%   This function will also free all product format definitions from
%   memory. When coda_open is called, CODA will read the product format
%   definition for the opened file and keeps this cached in memory.
%   A call to coda_clearall will remove all cached definitions.
%
%   See also CODA_OPEN, CODA_CLOSE
%

% Call CODA_MATLAB.MEX to do the actual work.
coda_matlab('CLEARALL',varargin{:});