Changeset 193 for trunk/src/check_functions.m
- Timestamp:
- Feb 20, 2011, 10:42:19 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/check_functions.m
r89 r193 47 47 'get_field';...% choose and plot a field from a Netcdf file 48 48 'get_field.fig';...%interface for get_field 49 'get_plot_handles';... %provides handles of elements setting the plotting parameters in the uvmat interface50 49 'griddata_uvmat';...%make 2D linear interpolation using griddata, with input appropriate for both Matlab 6.5 and 7 51 50 'hist_update';...% update of a current global histogram by inclusion of a new field … … 92 91 icount=0; 93 92 % loop on the list of functions in the uvmat package 93 datnum=zeros(1,length(list_fct)); 94 94 for i=1:length(list_fct) 95 95 dir_fct=which(list_fct{i});% path to fct … … 104 104 end 105 105 datfile=dir(dir_fct); 106 date_str=datfile.date;%string of the date of last modification 107 datnum(i)=0;%default 108 try 109 datnum(i)=datenum(date_str); 110 catch 111 datnum(i)=0;%in case of error with datenum (e.g. date in french) 106 if isfield(datfile,'datenum') 107 datnum(i)= datfile.datenum; 112 108 end 109 % date_str=datfile.date;%string of the date of last modification 110 % datnum(i)=0;%default 111 % try 112 % datnum(i)=datenum(date_str); 113 % catch 114 % datnum(i)=0;%in case of error with datenum (e.g. date in french) 115 % end 113 116 end 114 117 end
Note: See TracChangeset
for help on using the changeset viewer.