Changeset 1157 for trunk/src/get_file_info.m
- Timestamp:
- Jul 11, 2024, 4:13:03 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_file_info.m
r1134 r1157 78 78 FileInfo.FileType=regexprep(FileExt,'^.','');% eliminate the dot of the extension; 79 79 case {'.seq','.sqb'} 80 [ A,FileInfo,timestamps,errormsg]=read_rdvision(fileinput,[]);80 [~,FileInfo,timestamps,errormsg]=read_rdvision(fileinput,[]); 81 81 case '.im7' 82 82 try … … 89 89 FileInfo.TimeName='timestamp'; 90 90 for ilist=1:numel(Input.Attributes) 91 if strcmp(Input.Attributes{ilist}.Name,'_Date')92 DateString=Input.Attributes{ilist}.Value;93 end94 if strcmp(Input.Attributes{ilist}.Name,'_Time')95 TimeString=Input.Attributes{ilist}.Value;96 end91 % if strcmp(Input.Attributes{ilist}.Name,'_Date') 92 % DateString=Input.Attributes{ilist}.Value; 93 % end 94 % if strcmp(Input.Attributes{ilist}.Name,'_Time') 95 % TimeString=Input.Attributes{ilist}.Value; 96 % end 97 97 end 98 98 catch ME … … 175 175 FileInfo.FileType='netcdf'; 176 176 FileInfo.ListVarName=Data.ListVarName; 177 FileInfo.VarAttribute=Data.VarAttribute; 177 178 end 178 179 end
Note: See TracChangeset
for help on using the changeset viewer.