Usage: |
writecsv(data,filename{,separator,deccomma,doquotes,dfmt,tfmt})
|
Input: |
| data | data to write; they can be a numerical matrix, a text matrix
or a list containing numerical and text vectors and matrices
having all the same number of rows
|
| filename | string, contains the name of the file
|
| separator | optional string that contains the data separator sign (default is ";",
which is used even if the separator is missing or an empty string)
|
| deccomma | optional scalar, indicates whether numbers should use a decimal point
(zero value, default) or a decimal comma (non-zero value)
|
| doquotes | optional scalar, indicates whether strings should be checked on the occurrence
of special characters such as separators or quotes; these strings
are then converted (e.g., " is replaced by "") and enclosed in quotation
marks as CSV format requires. Parameter doquotes is zero by
default (no checking); if doquotes is non-zero, strings are transformed,
but it slows down the writing process
|
| dfmt | optional format string for numerical vectors and matrices ("%g" by default)
|
| tfmt | otional format string for text vectors and matrices ("%s" by default)
|