Site hosted by Angelfire.com: Build your free website today!

filethr

PURPOSE ^

FILEHR determines the inputfiletype for loadhr

SYNOPSIS ^

function inputtype = filethr(gfilen)

DESCRIPTION ^

 FILEHR determines the inputfiletype for loadhr
 inputtype = filethr(gfilen)

 if strcmp(er,'.dat')
     inputtype = 2;
 elseif strcmp(er,'.mat')
     inputtype = 1;
 elseif strcmp(er,'.m')
     inputtype = 0;
 elseif strcmp(er,'.txt')
     inputtype = 4;
 elseif strcmp(er,'.xls')
     inputtype = 5;
 else
     error([er ' is not a valid file type for loadhr']),return
 end

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^


Generated on Sat 12-Mar-2005 01:01:49 by Rezaul Karim © 2004