Ignore:
Timestamp:
Mar 10, 2010, 7:43:51 PM (11 years ago)
Author:
sommeria
Message:

-proj_field, plot_field, civ_3D: bug repair for 3D3C velocity fields (not finished)
-check_function: introduce try/catch for function datenum (error with french systems)
-cleaning of warndlg_uvmat in different fcts (replaced by msgbox_uvmat)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/check_functions.m

    r38 r42  
    106106       date_str=datfile.date;%string of the date of last modification
    107107       datnum(i)=0;%default
    108        char_code=double(date_str);% code of the date characters
    109        special_char=(char_code>127); %non standard Ascii character (e.g. date in french)
    110        if isempty(find(special_char))% standard Ascii character
    111           datnum(i)=datenum(date_str);
     108       try
     109           datnum(i)=datenum(date_str);
     110       catch
     111           datnum(i)=0;%in case of error with datenum (e.g. date in french)
    112112       end
    113113   end
Note: See TracChangeset for help on using the changeset viewer.