Changeset 470 for trunk/src/series/check_data_files.m
- Timestamp:
- Jun 22, 2012, 3:45:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/check_data_files.m
r457 r470 106 106 for iview=1:nbview 107 107 if isequal(FileType{iview},'mmreader')||isequal(FileType{iview},'video')||isequal(FileType{iview},'multimage') 108 [tild,FileInfo]=get_file_type(filecell{iview,1}) 109 % info=aviinfo(filecell{iview,1}); 110 message{1}=filecell{iview,1};%info.Filename; 111 message{2}=FileInfo.FileModDate; 112 message{3}=[num2str(FileInfo.FramesPerSecond) ' frames/s ']; 113 message{4}=FileInfo.ImageType; 114 message{5}=[' compression' FileInfo.VideoCompression]; 115 message{6}=[ 'quality ' num2str(FileInfo.Quality)]; 116 Tabchar=message; 108 [tild,FileInfo]=get_file_type(filecell{iview,1}); 109 Tabchar{1}=filecell{iview,1};%info.Filename; 110 Tabchar{2}=FileInfo.FileModDate; 111 Tabchar{3}=[num2str(FileInfo.FramesPerSecond) ' frames/s ']; 112 Tabchar{4}=FileInfo.ImageType; 113 Tabchar{5}=[' compression' FileInfo.VideoCompression]; 114 Tabchar{6}=[ 'quality ' num2str(FileInfo.Quality)]; 117 115 else 118 116 Tabchar={}; … … 130 128 detect=exist(file,'file'); % check the existence of the file 131 129 if detect==0 132 % count=count+1;133 130 lastfield='not found'; 134 131 else … … 139 136 end 140 137 lastfield=''; 141 [FileType ,FileInfo,Object]=get_file_type(file);142 if strcmp(FileType ,'civx')||strcmp(FileType,'civdata')138 [FileType{iview},FileInfo,Object]=get_file_type(file); 139 if strcmp(FileType{iview},'civx')||strcmp(FileType{iview},'civdata') 143 140 if isfield(FileInfo,'CivStage') 144 141 liststage={'civ1','fix1','patch1','civ2','fix2','patch2'}; … … 146 143 end 147 144 end 148 lastfield=[FileType ', ' lastfield];145 lastfield=[FileType{iview} ', ' lastfield]; 149 146 end 150 147 Tabchar(1,i_slice)={['slice #' num2str(i_slice)]};
Note: See TracChangeset
for help on using the changeset viewer.