Changeset 516 for trunk/src/read_field.m


Ignore:
Timestamp:
Aug 16, 2012, 8:47:11 AM (12 years ago)
Author:
sommeria
Message:

various bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_field.m

    r497 r516  
    4343    switch FileType
    4444        case {'civx','civdata','netcdf'}  %read the first nc field
    45             %         ParamOut.FieldName=ParamIn.FieldName;
    4645            GUIName='get_field'; %default name of the GUI get_field
    4746            if isfield(ParamIn,'GUIName')
     
    115114                    set(hhget_field.TimeIndexValue,'String',num2str(num))
    116115                end
    117                 funct_list=get(hhget_field.ACTION,'UserData');
    118                 funct_index=get(hhget_field.ACTION,'Value');
    119                 funct=funct_list{funct_index};%select  the current action in get_field, e;g. PLOT
    120                 Field=funct(hget_field); %%activate the current action selected in get_field, e;g.read the names of the variables to plot
     116%                 funct_list=get(hhget_field.ACTION,'UserData');
     117%                 funct_index=get(hhget_field.ACTION,'Value');
     118%                 funct=funct_list{funct_index};%select  the current action in get_field, e;g. PLOT
     119%                 Field=funct(hget_field); %%activate the current action selected in get_field, e;g.read the names of the variables to plot
     120                [Field,errormsg]=read_get_field(hget_field);
    121121                Tabchar={''};%default
    122122                Tabcell=[];
Note: See TracChangeset for help on using the changeset viewer.