Ignore:
Timestamp:
08/06/10 15:32:03 (15 years ago)
Author:
jschierm
Message:

dakota_out_parse.m: Read sensitivities along with importance factors for local reliability analysis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/qmu/dakota_out_parse.m

    r3564 r5042  
    522522        [ntokens,tokens]=fltokens(fline);
    523523        idvar=idvar+1;
    524         dresp(end).var   (idvar,1)=cellstr(tokens{1}{5});
    525         dresp(end).impfac(idvar,1)=        tokens{1}{7};
     524        dresp(end).var   (idvar,1)=cellstr(tokens{1}{ 5});
     525        dresp(end).impfac(idvar,1)=        tokens{1}{ 7};
     526        if (ntokens >= 10)
     527            dresp(end).sens  (idvar,1)=        tokens{1}{10};
     528        else
     529            dresp(end).sens  (idvar,1)=NaN;
     530        end
    526531
    527532        fline=fgetl(fidi);
     
    534539        dresp(end).var   ={};
    535540        dresp(end).impfac=[];
     541        dresp(end).sens  =[];
    536542        while ischar(fline) && ...
    537543                ~strncmpi(fline,'Cumulative Distribution Function',32) && ...
Note: See TracChangeset for help on using the changeset viewer.