fread
- :
data =fread(fid)¶ - :
data =fread(fid, size)¶ - :
data =fread(fid, size, precision)¶ - :
data =fread(fid, size, precision, skip)¶ - :
data =fread(fid, size, precision, skip, arch)¶ - :
[data, count] =fread(…)¶ Read binary data from the file fid.
size is
Inf(everything, the default), a count n, or[m, n](nmay beInf). precision names the stored type (default"uint8"); it may carry a repeat count ("4*uint8") and an output class ("uint8=>char"or"*char"). By default the result is of class double. skip bytes are skipped after each block, and arch gives the byte order.count is the number of elements read.