RAWREAD Read Ndimensional Array From File
Section: Input/Ouput Functions
Usage
The syntax forrawread
is
function x = rawread(fname,size,precision,byteorder)
where fname
is the name of the file to read from,
and size
is an ndimensional vector that stores the
size of the array in each dimension. The argument precision
is the type of the data to read in:
 'uint8','uchar','unsigned char' for unsigned, 8bit integers
 'int8','char','integer*1' for signed, 8bit integers
 'uint16','unsigned short' for unsigned, 16bit integers
 'int16','short','integer*2' for signed, 16bit integers
 'uint32','unsigned int' for unsigned, 32bit integers
 'int32','int','integer*4' for signed, 32bit integers
 'uint64','unsigned int' for unsigned, 64bit integers
 'int64','int','integer*8' for signed, 64bit integers
 'single','float32','float','real*4' for 32bit floating point
 'double','float64','real*8' for 64bit floating point
 'complex','complex*8' for 64bit complex floating point (32 bits for the real and imaginary part).
 'dcomplex','complex*16' for 128bit complex floating point (64 bits for the real and imaginary part).
byteorder
is left unspecified, the file is assumed to be
of the same byteorder as the machine FreeMat
is running on.
If you wish to force a particular byte order, specify the byteorder
argument as

'le','ieeele','littleendian','littleEndian','little'

'be','ieeebe','bigendian','bigEndian','big'