Ignore:
Timestamp:
Dec 29, 2011, 12:00:59 AM (9 years ago)
Author:
sommeria
Message:

functions adapted to Matlab version 2009 (~ replaced by 'tild' in function output)
svn test put under 'try' (error observed)
fullfile_uvmat introduced, aimed at replacing name_generator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/check_files.m

    r315 r353  
    5151    'editxml';...%display and edit xml files using a xls schema
    5252    'editxml.fig';...%interface for editxml
     53    'fileparts_uvmat';...% extracts the root name,field indexes and nomenclature type from an input filename
    5354    'find_field_indices';...% group the variables of a nc-formated Matlab structure into 'fields' with common dimensions
    5455    'geometry_calib';...%performs geometric calibration from a set of reference points
     
    6667    'msgbox_uvmat';... associated with GUI msgbox_uvmat.fig to display message boxes, for error, warning or input calls
    6768    'msgbox_uvmat.fig';...
    68     'name2display';...% extracts the root name and field numbers from an input filename
    6969    'name_generator';...%creates a file name from a root name and indices.
    7070    'nc2struct';...% transform a netcdf file in a corresponding matlab structure
     
    138138end
    139139date_str=datestr(max(datnum));
    140 
    141 [status,~]=system('svn --help');
     140try
     141[status]=system('svn --help');
    142142if status==0
    143     [~,result]=system(['svn info ' dir_fct]);
     143    [tild,result]=system(['svn info ' dir_fct]);
    144144    t=regexp(result,'R.vision\s:\s(?<rev>\d+)','names');
    145145    svn_info.cur_rev=str2double(t.rev);
    146     [~,result]=system(['svn info -r ''HEAD'' '  dir_fct]);
     146    [tild,result]=system(['svn info -r ''HEAD'' '  dir_fct]);
    147147    t=regexp(result,'R.vision\s:\s(?<rev>\d+)','names');
    148148    svn_info.rep_rev=str2double(t.rev);
    149     [~,result]=system(['svn status'  dir_fct]);   
     149    [tild,result]=system(['svn status'  dir_fct]);   
    150150    svn_info.status=result;
    151151    if svn_info.rep_rev>svn_info.cur_rev
     
    161161    end
    162162end
     163end
    163164errormsg=errormsg';
    164165
Note: See TracChangeset for help on using the changeset viewer.