Contents Previous Next Subchapters

Specifying Value for Separating File Output Data
Syntax write(filematrixmaxseparator)
See Also write(file, matrix) , read(file, mtype)

Writes matrix to the specified file, where file is a character row vector. The definition of max is the same as in write(file, matrix,max) . The argument separator is a character scalar which is used to separate individual values in the output instead of the default space character.

If you enter,
     D = {[1.1, 1.2, 1.3], [2.1, 2.2, 2.3]}
     write("sep.dat", D, coldim(D), ";")
O-Matrix will create the file sep.dat in the current working directory which contains,