- Timestamp:
- Jul 7, 2014, 1:50:46 PM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/read_lvm.m
r789 r794 21 21 Dot_pos=regexp(TimeString,'\.'); 22 22 TimeString=TimeString(1:Dot_pos+2); % round to 1/100 s 23 r1.DateDat=regexprep(r1.DateDat,'/','-');%replace '/' by '-' (to get standard date representation recognized by Matlab) 23 24 Data.DateTime=[r1.DateDat ' ' TimeString];%insert date to the time string (separated by a blank) 24 25 -
trunk/src/read_rdvision.m
r790 r794 84 84 for i=1:length(frame_idx) 85 85 ii=frame_idx(i); 86 binfile=fullfile(RootPath,FileInfo.binrepertoire,sprintf('%s%.5d.bin',bin_file,data(ii).file_idx)); 86 if ~isempty(FileInfo.binrepertoire) 87 binrepertoire=FileInfo.binrepertoire; 88 else %used when binrepertoire empty, strange feature of rdvision 89 binrepertoire=regexprep(FileInfo.bindirectory,'\\$','');%tranform Windows notation to Linux 90 binrepertoire=regexprep(binrepertoire,'\','/'); 91 [tild,binrepertoire,DirExt]=fileparts(binrepertoire); 92 binrepertoire=[binrepertoire DirExt]; 93 end 94 binfile=fullfile(RootPath,binrepertoire,sprintf('%s%.5d.bin',bin_file,data(ii).file_idx)); 87 95 fid=fopen(binfile,'rb'); 88 96 fseek(fid,data(ii).offset,-1);
Note: See TracChangeset
for help on using the changeset viewer.