Changeset 462 for trunk/src/series/sub_background.m
- Timestamp:
- Jun 20, 2012, 2:14:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/sub_background.m
r459 r462 75 75 %% select different modes, RUN, parameter input, BATCH 76 76 % BATCH case: read the xml file for batch case 77 ParamOut=Param; %default output78 77 if ischar(Param) 79 if strcmp(Param,'input?')80 checkrun=1;% will search input parameters (preparation of BATCH mode)81 else82 78 Param=xml2struct(Param); 83 79 checkrun=0; 84 end85 80 % RUN case: parameters introduced as the input structure Param 86 81 else 87 82 hseries=guidata(Param.hseries);%handles of the GUI series 88 83 WaitbarPos=get(hseries.waitbar_frame,'Position');%position of the waitbar on the GUI series 89 checkrun=2; % indicate the RUN option is used 90 end 84 if isfield(Param,'Specific')&& strcmp(Param.Specific,'?') 85 checkrun=1;% will search input parameters (preparation of BATCH mode) 86 else 87 checkrun=2; % indicate the RUN option is used 88 end 89 end 90 ParamOut=Param; %default output 91 91 92 92 %% root input file(s) and type … … 147 147 if strcmp(lower(NomType{1}(end)),'a') 148 148 NomTypeOut=NomType{1};%case of letter appendix 149 elseif isempty(j1_series) 150 NomTypeOut='_1'; 149 151 else 150 152 NomTypeOut='_1_1';% caseof purely numerical indexing
Note: See TracChangeset
for help on using the changeset viewer.