Ignore:
Timestamp:
Jun 20, 2012, 2:14:10 PM (12 years ago)
Author:
sommeria
Message:

a few bug repairs and update in the series fcts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/time_series.m

    r459 r462  
    6767%% select different modes,  RUN, parameter input, BATCH
    6868% BATCH  case: read the xml file for batch case
    69 ParamOut=Param; %default output
    7069if ischar(Param)
    71     if strcmp(Param,'input?')
    72         checkrun=1;% will inly search input parameters (preparation of BATCH mode)
    73     else
    7470        Param=xml2struct(Param);
    7571        checkrun=0;
    76     end
    7772% RUN case: parameters introduced as the input structure Param
    7873else
    7974    hseries=guidata(Param.hseries);%handles of the GUI series
    8075    WaitbarPos=get(hseries.waitbar_frame,'Position');%position of the waitbar on the GUI series
    81     checkrun=2; % indicate the RUN option is used
    82 end
     76    if isfield(Param,'Specific')&& strcmp(Param.Specific,'?')
     77        checkrun=1;% will only search interactive input parameters (preparation of BATCH mode)
     78    else
     79        checkrun=2; % indicate the RUN option is used
     80    end
     81end
     82ParamOut=Param; %default output
    8383
    8484%% root input file(s) and type
Note: See TracChangeset for help on using the changeset viewer.