Changeset 353 for trunk/src/stra2num.m


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/stra2num.m

    r89 r353  
    1212
    1313function numres=stra2num(str)
    14 numres=NaN; %default
     14numres=[]; %default
    1515if double(str) >= 48 & double(str) <= 57 % = test for number strings
    1616    numres=str2double(str);
Note: See TracChangeset for help on using the changeset viewer.