Changeset 26409


Ignore:
Timestamp:
08/23/21 18:36:57 (4 years ago)
Author:
schlegel
Message:

CHG: fix the call to any for older matlabs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/runme.m

    r26408 r26409  
    9191for i=1:numel(flist),
    9292        fname=flist(i).name;
    93         if (any(fname,'.')), %Before split, check that file name contains '.'
    94                 ftokens=string(split(fname,'.')); %Tokenize file name on '.'
     93        if (any(fname=='.')), %Before split, check that file name contains '.'
     94                ftokens=strsplit(fname,'.'); %Tokenize file name on '.'
    9595                if (regexp(ftokens{1},'^test[0-9]+$') &... %Basename must start with 'test' and end with a number
    9696                        strcmp(ftokens{end},'m') ... %Extension (less '.') must be 'm'
Note: See TracChangeset for help on using the changeset viewer.