Changeset 369 for trunk/src/xml2struct.m


Ignore:
Timestamp:
Jan 12, 2012, 7:48:00 PM (12 years ago)
Author:
sommeria
Message:

image interpolation introduced in civ2_matlab (option decimal shift)
bug corrected in xml2struct (reading of decimal numbers fixed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/xml2struct.m

    r368 r369  
    2424        end
    2525    case 'char'
    26         if isempty(regexp(s,'^\d+$'))
     26       
     27        if isempty(regexp(s,'^\d+\.*\d*$'))% if the string contains numerical characters and decimal . only
    2728            out=s;
    2829        else
Note: See TracChangeset for help on using the changeset viewer.