Changeset 1120 for trunk/src/get_file_info.m
- Timestamp:
- Dec 15, 2022, 6:21:53 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_file_info.m
r1107 r1120 62 62 FileInfo.FileName=fileinput; 63 63 FileInfo.FileType='txt'; %default 64 else65 return %input file does not exist.64 % else 65 % return %input file does not exist. 66 66 end 67 67 [tild,tild,FileExt]=fileparts(fileinput);%get the file extension FileExt … … 117 117 if ~isempty(FileExt) 118 118 if ~isempty(imformats(FileExt))%case of images 119 FileInfo.FileType='image'; 119 120 try 120 121 imainfo=imfinfo(fileinput);
Note: See TracChangeset
for help on using the changeset viewer.