Ignore:
Timestamp:
Apr 7, 2013, 10:14:45 AM (8 years ago)
Author:
sommeria
Message:

bug on compilation solved (still to test with transform_field fct). faster browser inrtroduced. Various bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/check_files.m

    r598 r606  
    193193for ilist=1:numel(list_compile)
    194194    mfile=regexprep(list_compile(ilist).name,'.sh$','.m');
    195     datfile=dir(mfile);
    196     if isfield(datfile,'datenum') && datfile.datenum>list_compile(ilist).datenum
    197         checkmsg=[checkmsg;{[list_compile(ilist).name ' needs to be updated by compile_functions']}];
    198     end
    199 end
    200 
     195    if exist(mfile,'file')
     196        datfile=dir(mfile);
     197        if ~isempty(datfile) && isfield(datfile,'datenum') && datfile.datenum>list_compile(ilist).datenum
     198            checkmsg=[checkmsg;{[list_compile(ilist).name ' needs to be updated by compile_functions']}];
     199        end
     200    end
     201end
     202cd(currentdir)
     203
Note: See TracChangeset for help on using the changeset viewer.