Changeset 635 for trunk/src/series/time_series.m
- Timestamp:
- May 19, 2013, 11:37:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/time_series.m
r633 r635 98 98 nbfield_i=size(i1_series{1},2); %nb of fields for the i index 99 99 nbfield=nbfield_j*nbfield_i; %total number of fields 100 [first_i,tild,last_i,first_j,tild,last_j,errormsg]=get_index_range(Param.IndexRange);101 if ~isempty(errormsg),display(errormsg),return,end100 % [first_i,tild,last_i,first_j,tild,last_j,errormsg]=get_index_range(Param.IndexRange); 101 % if ~isempty(errormsg),display(errormsg),return,end 102 102 103 103 %% determine the file type on each line from the first input file … … 153 153 return 154 154 end 155 156 %% settings for the output file 155 157 NomTypeOut=nomtype2pair(NomType{1});% determine the index nomenclature type for the output file 158 first_i=i1_series{1}(1); 159 last_i=i1_series{1}(end); 160 if isempty(j1_series{1})% if there is no second index j 161 first_j=1;last_j=1; 162 else 163 first_j=j1_series{1}(1); 164 last_j=j1_series{1}(end); 165 end 156 166 157 167 %% Set field names and velocity types … … 210 220 for index=1:nbfield 211 221 update_waitbar(WaitbarHandle,index/nbfield) 212 if ~isempty(RUNHandle) && ishandle(RUNHandle) &&~strcmp(get(RUNHandle,'BusyAction'),'queue')222 if ~isempty(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue') 213 223 disp('program stopped by user') 214 224 break % leave the loop if stop is ordered
Note: See TracChangeset
for help on using the changeset viewer.