Home > utility > binIntFileRead.m

binIntFileRead

PURPOSE ^

binIntFileRead: Read an binary file of 4-byte integers

SYNOPSIS ^

function vec=binIntFileRead(fileName)

DESCRIPTION ^

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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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);

Generated on Tue 01-Jun-2010 09:50:34 by m2html © 2003