File: coda_clearall.m

package info (click to toggle)
coda 2.25.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 10,168 kB
  • sloc: ansic: 121,489; javascript: 6,788; java: 2,369; python: 1,695; yacc: 1,007; makefile: 598; lex: 204; sh: 105; 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{:});