


binIntFileRead: Read an binary file of 4-byte integers
Usage: vec=binIntFileRead(fileName)

0001 function vec=binIntFileRead(fileName) 0002 % binIntFileRead: Read an binary file of 4-byte integers 0003 % Usage: vec=binIntFileRead(fileName) 0004 0005 % Roger Jang, 20050923 0006 0007 fid = fopen(fileName, 'rb'); 0008 vec=fread(fid, inf, 'int32'); 0009 fclose(fid);