csvwrite
(Not recommended) Write comma-separated value file
csvwrite is not recommended. Use writematrix
instead. For more information, see Compatibility Considerations.
Description
Examples
Input Arguments
Limitations
csvwritewrites a maximum of five significant digits. If you need greater precision, usedlmwritewith a precision argument.
csvwritedoes not accept cell arrays for the input matrixM. To export a cell array that contains only numeric data, usecell2matto convert the cell array to a numeric matrix before callingcsvwrite.
Algorithms
csvwriteterminates each line with a line feed character ('\n'orchar(10)) and no carriage return.