rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
filecache_clear.m
1 function filecache_clear
2 %function filecache_clear
3 %
4 % function clearing the filecache. should be called at each new
5 % program start which uses filecaching. But at least of course before
6 % each new time-measurement!!!
7 
8 % Bernard Haasdonk 22.5.2007
9 
10 d = dir(filecache_path);
11 for i = 1:length(d)
12  if ~ismember(d(i).name,{'.','..'})
13  delete(fullfile(filecache_path,d(i).name));
14  end;
15 end;
16 
17 
18 % TO BE ADJUSTED TO NEW SYNTAX
19 %| \docupdate