Changeset 905 for trunk/src/series
- Timestamp:
- May 30, 2015, 8:44:20 PM (10 years ago)
- Location:
- trunk/src/series
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/civ_series.m
r904 r905 333 333 if ~isempty(RUNHandle)% update the waitbar in interactive mode with GUI series (checkrun=1) 334 334 update_waitbar(WaitbarHandle,ifield/NbField) 335 if ~strcmp(get(RUNHandle,'BusyAction'),'queue')335 if checkrun && ~strcmp(get(RUNHandle,'BusyAction'),'queue') 336 336 disp('program stopped by user') 337 337 break -
trunk/src/series/merge_proj.m
r883 r905 73 73 ParamOut.OutputFileMode='NbInput';% '=NbInput': 1 output file per input file index, '=NbInput_i': 1 file per input file index i, '=NbSlice': 1 file per slice 74 74 %check the input files 75 ParamOut.CheckOverwriteVisible='on'; % manage the overwrite of existing files (default=1) 75 76 first_j=[]; 76 77 if isfield(Param.IndexRange,'first_j'); first_j=Param.IndexRange.first_j; end … … 90 91 %%%%%%%%%%%% STANDARD PART (DO NOT EDIT) %%%%%%%%%%%% 91 92 ParamOut=[]; %default output 93 RUNHandle=[]; 94 WaitbarHandle=[]; 92 95 %% read input parameters from an xml file if input is a file name (batch mode) 93 96 checkrun=1; … … 95 98 Param=xml2struct(Param);% read Param as input file (batch case) 96 99 checkrun=0; 97 end 98 hseries=findobj(allchild(0),'Tag','series'); 99 RUNHandle=findobj(hseries,'Tag','RUN');%handle of RUN button in GUI series 100 WaitbarHandle=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series 100 else 101 hseries=findobj(allchild(0),'Tag','series'); 102 RUNHandle=findobj(hseries,'Tag','RUN');%handle of RUN button in GUI series 103 WaitbarHandle=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series 104 end 101 105 102 106 %% define the directory for result file (with path=RootPath{1}) … … 407 411 end 408 412 end 409 disp(['total ellapsed time ' num2str(toc(tstart))]) 413 ellapsed_time=toc(tstart); 414 disp(['total ellapsed time ' num2str(ellapsed_time/60,2) ' minutes']) 415 disp([ num2str(ellapsed_time/(60*NbField),3) ' minutes per iteration']) 410 416 411 417 %'merge_field': concatene fields
Note: See TracChangeset
for help on using the changeset viewer.