close all; clear all; try,% Make the timeseries newpath=MBARI_path('/hosts/tornado/vol/vol0/ssdsdata/ecocimt/src'); cd(newpath); % Create interval which is the number of days to process. Then process the % data and create plots today=now; first_day=datenum(2004,6,3); interval = round(today - first_day); eco_process7(interval); % This function extracts, calibrates, and plots the data cd ../plots % Change the name of the output file, which has the interval embedded in % the name. Then delete the original file. filename=['eco' num2str(interval) '.jpg']; copyfile(filename,'eco_ts.jpg'); delete(filename); filename=['eco' num2str(interval) '.png']; copyfile(filename,'eco_ts.png'); delete(filename); catch, end