Documentation Center    • Trial Software   • Product Updates
Write band-interleaved data to file
multibandwrite(data,filename,interleave) writes data, a two- or
three-dimensional numeric or logical array, to the binary file
specified by filename. The filename input is a string enclosed
in single quotes. The length of the third dimension of data
determines the number of bands written to the file. The bands
are written to the file in the form specified by interleave. See
Interleave Methods for more information about this argument.  If
filename already exists, multibandwrite overwrites it unless you
specify the optional offset parameter. See the last alternate
syntax for multibandwrite for information about other optional
parameters.
multibandwrite(data,filename,interleave,start,totalsize) writes
data to the binary file filename in chunks. In this syntax, data
is a subset of the complete data set.  start is a 1-by-3 array
[firstrow firstcolumn firstband] that specifies the location to
start writing data.