RAWREAD Read N-dimensional Array From File

Section: Input/Ouput Functions

Usage

The syntax for rawread is
   function x = rawread(fname,size,precision,byteorder)

where fname is the name of the file to read from, and size is an n-dimensional vector that stores the size of the array in each dimension. The argument precision is the type of the data to read in:

As a special feature, one of the size elements can be 'inf', in which case, the largest possible array is read in. If byteorder is left unspecified, the file is assumed to be of the same byte-order as the machine FreeMat is running on. If you wish to force a particular byte order, specify the byteorder argument as