Changeset 100 for trunk/src/series.m


Ignore:
Timestamp:
Jun 8, 2010, 8:19:10 PM (11 years ago)
Author:
sommeria
Message:

nc2struct.m: convert variables to double after reading (civ gives single)
series.m: prob of initialisation solved
civ.m: gestion of button 'experimental' for new patch

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src

    • Property svn:ignore
      •  

        old new  
         1@xmltree
         2PARAM.xml
        13PARAM_WIN.xml
         4XML_SCHEMAS
         5bin
         6toolbox_calib
         7uvmat_doc
  • trunk/src/series.m

    r89 r100  
    702702    nb_field2=max(floor((max(num_j1)+max(num_j2))/2));
    703703end
    704 if isempty(nb_field)
     704if isempty(nb_field)||isnan(nb_field)
    705705    nb_field_str='?';
    706706    nb_field_str2='?';
     
    12621262            num1=num1(ind);       
    12631263        end
    1264         set(handles.first_i,'String',num2str(num1(1)));
    1265         set(handles.last_i,'String',num2str(num1(end)));
     1264        if ~isempty(num1)
     1265            set(handles.first_i,'String',num2str(num1(1)));
     1266            set(handles.last_i,'String',num2str(num1(end)));
     1267        end
    12661268        testupdate=1;
    12671269        elseif isequal(mode,'series(Dj)')
Note: See TracChangeset for help on using the changeset viewer.