csvwrite
Write a matrix to a CSV file.
Syntax
Section titled “Syntax”csvwrite(filename, M)csvwrite(filename, M, row, col)Description
Section titled “Description”Writes numeric matrix M to filename as a comma-separated text file. With row and col (0-based), writes starting from that offset (overwriting other content).
Example
Section titled “Example”csvwrite('output.csv', magic(5))