Changeset 904 for trunk/src/series/ima_levels.m
- Timestamp:
- May 30, 2015, 1:26:33 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/ima_levels.m
r810 r904 95 95 %% read input parameters from an xml file if input is a file name (batch mode) 96 96 ParamOut=[]; 97 RUNHandle=[]; 98 WaitbarHandle=[]; 97 99 checkrun=1; 98 100 if ischar(Param) 99 101 Param=xml2struct(Param);% read Param as input file (batch case) 100 102 checkrun=0; 101 end 102 hseries=findobj(allchild(0),'Tag','series'); 103 RUNHandle=findobj(hseries,'Tag','RUN');%handle of RUN button in GUI series 104 WaitbarHandle=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series 103 else% interactive mode in Matlab 104 hseries=findobj(allchild(0),'Tag','series'); 105 RUNHandle=findobj(hseries,'Tag','RUN');%handle of RUN button in GUI series 106 WaitbarHandle=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series 107 end 105 108 106 109 %% subdirectory for output files … … 171 174 for ifile=1:nbfield 172 175 update_waitbar(WaitbarHandle,ifile/nbfield) 173 if ~isempty(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue')176 if ~isempty(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction'),'queue') 174 177 disp('program stopped by user') 175 178 return
Note: See TracChangeset
for help on using the changeset viewer.