Ignore:
Timestamp:
Jun 11, 2018, 9:17:44 PM (6 years ago)
Author:
sommeria
Message:

uigetfile repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_civdata.m

    r1033 r1050  
    9696
    9797%% reading data
    98 Data=nc2struct(FileName,'ListGlobalAttribute','CivStage');
    99 if isfield(Data,'Txt')
    100      errormsg=['error in read_civdata: ' Data.Txt];
     98[Data,tild,tild,errormsg]=nc2struct(FileName,'ListGlobalAttribute','CivStage');
     99if ~isempty(errormsg)
     100     errormsg=['read_civdata: ' errormsg];
    101101    return
    102102end
     
    104104[varlist,role,VelTypeOut]=varcivx_generator(ProjModeRequest,VelType,Data.CivStage);
    105105if isempty(varlist)
    106     errormsg=['error in read_civdata: unknow velocity type ' VelType];
     106    errormsg=['read_civdata: unknow velocity type ' VelType];
    107107    return
    108108else
Note: See TracChangeset for help on using the changeset viewer.