Ignore:
Timestamp:
Aug 27, 2013, 11:25:21 PM (11 years ago)
Author:
sommeria
Message:

various bugs corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_file_type.m

    r664 r675  
    1717% fileinput: name, including path, of the file to analyse
    1818function [FileType,FileInfo,VideoObject]=get_file_type(fileinput)
    19 FileType='txt';%default, text file
     19
    2020FileInfo=[];
    2121VideoObject=[];
     22if exist(fileinput,'file')
     23    FileType='txt';%default, text file
     24else
     25    FileType='';
     26    return
     27end
    2228[tild,tild,FileExt]=fileparts(fileinput);
    2329
Note: See TracChangeset for help on using the changeset viewer.