Changeset 442 for trunk/src/series/time_series.m
- Timestamp:
- Jun 6, 2012, 2:46:15 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/time_series.m
r422 r442 37 37 if ischar(Param) && ~isempty(find(regexp('Param','.xml$'))) 38 38 Param=xml2struct(Param); 39 checkrun=0; 39 40 else % RUN case: parameters introduced as the input structure Param 40 41 hseries=guidata(Param.hseries);%handles of the GUI series 41 42 WaitbarPos=get(hseries.waitbar_frame,'Position'); 43 checkrun=1; 42 44 end 43 45 [filecell,i1_series,i2_series,j1_series,j2_series]=get_file_series(Param); … … 273 275 filecounter=0; 274 276 for ifile=i_slice:NbSlice:nbfield 275 stopstate=get(hseries.RUN,'BusyAction'); 277 if checkrun 278 update_waitbar(hseries.waitbar_frame,WaitbarPos,ifile/nbfield) 279 stopstate=get(hseries.RUN,'BusyAction'); 280 else 281 stopstate='queue'; 282 end 276 283 errormsg=''; 277 284 if isequal(stopstate,'queue')% enable STOP command 278 update_waitbar(hseries.waitbar,WaitbarPos,ifile/nbfield) % update the waitbar279 285 % loop on views (in case of multiple input series) 280 286 for iview=1:nbview
Note: See TracChangeset
for help on using the changeset viewer.