Changeset 843 for applications/doprava

Show
Ignore:
Timestamp:
02/27/10 10:52:23 (14 years ago)
Author:
smidl
Message:

modification of itload to read names staring with numbers by appending "x" in front

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/doprava/matlab/itload.m

    r706 r843  
    6565  fseek(fid, p+d1(1), 'bof'); % Skip header bytes 
    6666 
     67  first_char = int16(name(1)); 
     68  if (first_char>=48 & first_char<=57) % name starts with char 
     69      name = ['x' name]; 
     70  end 
     71   
    6772  if (length(type) == 0) % A deleted entry -> skip it 
    6873