Cell Array to CSV-file [cell2csv.m]

version (1.89 KB) by Sylvain Fiedler
Writes a cell array into a comma separated values text file (*.csv)


Updated Wed, 03 Nov 2010 09:30:27 +0000

View License

This function writes a cell array into a CSV-file.
It works with empty cells, numeric, char, string and logical cells. One array can contain all of them, but only one value per cell.

CSV-files can then be read by Excel, so you don't need DDE or ActiveX.

Cite As

Sylvain Fiedler (2022). Cell Array to CSV-file [cell2csv.m] (https://www.mathworks.com/matlabcentral/fileexchange/4400-cell-array-to-csv-file-cell2csv-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!