Changeset 604 for trunk/src/civ_matlab.m


Ignore:
Timestamp:
Apr 4, 2013, 10:54:25 PM (8 years ago)
Author:
sommeria
Message:

bugs corrected in series, ima_levels cleaned as exemple

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ_matlab.m

    r596 r604  
    8989   
    9090    %set the values of all the global attributes in list_param
    91     Data.ListGlobalAttribute=[Data.ListGlobalAttribute Civ1_param];
    9291    for ilist=1:length(list_param)
    9392        Civ1_param{ilist}=['Civ1_' list_param{ilist}];
    9493        Data.(['Civ1_' list_param{ilist}])=Param.Civ1.(list_param{ilist});
    9594    end
     95    Data.ListGlobalAttribute=[Data.ListGlobalAttribute Civ1_param];
    9696    Data.CivStage=1;
    9797   
     
    105105    Data.VarAttribute{5}.Role='warnflag';
    106106   
    107     if strcmp(Param.ListCompareMode, 'PIV volume')
     107    if isfield(Param,'ListCompareMode') && strcmp(Param.ListCompareMode, 'PIV volume')
    108108        Data.ListVarName=[Data.ListVarName 'Civ1_Z'];
    109109        Data.Civ1_X=[];Data.Civ1_Y=[];Data.Civ1_Z=[];
Note: See TracChangeset for help on using the changeset viewer.