rbmatlab 0.10.01
|
00001 function filecache_clear 00002 %function filecache_clear 00003 % 00004 % function clearing the filecache. should be called at each new 00005 % program start which uses filecaching. But at least of course before 00006 % each new time-measurement!!! 00007 00008 % Bernard Haasdonk 22.5.2007 00009 00010 d = dir(filecache_path); 00011 for i = 1:length(d) 00012 if ~ismember(d(i).name,{'.','..'}) 00013 delete(fullfile(filecache_path,d(i).name)); 00014 end; 00015 end; 00016 00017 00018 % TO BE ADJUSTED TO NEW SYNTAX 00019 %| \docupdate