Changeset 106 for trunk/src/series


Ignore:
Timestamp:
Jul 1, 2010, 12:01:37 AM (14 years ago)
Author:
sommeria
Message:

merge_proj and series.m: bug for use of mmreader corrected
struct2nc: bug for regularly meshed coordinates corrected (builtin netcdf lib)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/merge_proj.m

    r93 r106  
    6464    test_movie(iview)=0;
    6565    if ~isequal(hhh,'')&& mmreader.isPlatformSupported()
    66         if isequal(lower(FileExt{iview}),'.avi')
     66        if isequal(lower(Series.FileExt{iview}),'.avi')
    6767            MovieObject{iview}=mmreader(fullfile(Series.RootPath{iview},[Series.RootFile{iview} Series.FileExt{iview}]));
    6868            test_movie(iview)=1;
     
    158158VelType_val=get(hseries.VelTypeMenu,'Value');
    159159VelType=VelType_str{VelType_val}; %the same for all views
    160 if isequal(FieldName,'get_field...')
     160if strcmp(FieldName,'')
     161    msgbox_uvmat('ERROR','no input field defined in FieldMenu')
     162elseif strcmp(FieldName,'get_field...')
    161163    hget_field=findobj(allchild(0),'Name','get_field');%find the get_field... GUI
    162164    SubField=get_field('read_get_field',hObject,eventdata,hget_field); %read the names of the variables to plot in the get_field GUI
Note: See TracChangeset for help on using the changeset viewer.