Changeset 624 for trunk/src/series/relabel_i_j.m
- Timestamp:
- Apr 29, 2013, 11:28:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/relabel_i_j.m
r599 r624 67 67 checkrun=0; 68 68 end 69 hseries=findobj(allchild(0),'Tag','series'); 70 RUNHandle=findobj(hseries,'Tag','RUN');%handle of RUN button in GUI series 71 WaitbarHandle=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series 69 72 70 73 %% root input file(s) and type … … 220 223 %% main loop on images 221 224 %j1=[];%default 222 nbfield2=size(XmlData.Time,2) 225 nbfield2=size(XmlData.Time,2); 223 226 for ifile=1:nbfield 224 if checkrun 225 stopstate=get(Param.RUNHandle,'BusyAction'); 226 update_waitbar(Param.WaitbarHandle,ifile/nbfield) 227 else 228 stopstate='queue'; 229 end 230 if ~isequal(stopstate,'queue')% enable STOP command 227 update_waitbar(WaitbarHandle,ifile/nbfield) 228 if ishandle(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue') 229 disp('program stopped by user') 231 230 break 232 231 end
Note: See TracChangeset
for help on using the changeset viewer.