Ignore:
Timestamp:
Apr 18, 2013, 9:02:03 AM (8 years ago)
Author:
sommeria
Message:

problem of time display repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/imadoc2struct.m

    r591 r611  
    66% s: structure representing ImaDoc
    77%   s.Heading: information about the data hierarchical structure
    8 %   s.Time: matrix of times
     8%   s.Time: matrix of times, note that s.Time(i+1,j+1) is the time for file indices i and j (in order to deal with index 0)
    99%   s.TimeUnit
    1010%  s.GeometryCalib: substructure containing the parameters for geometric calibration
     
    101101        end
    102102    end
     103    s.Time=[zeros(size(s.Time,1),1) s.Time]; %insert a vertical line of zeros (to deal with zero file indices)
     104    s.Time=[zeros(1,size(s.Time,2)); s.Time]; %insert a horizontal line of zeros
    103105end
    104106
Note: See TracChangeset for help on using the changeset viewer.