Cell Array to CSV-file [cell2csv.m]
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Text Files >
- MATLAB > External Language Interfaces > COM with MATLAB > Use COM Objects in MATLAB >
Tags
Acknowledgements
Inspired: BiofilmQ, High-Throughput, Algorithmic Determination of Nanoparticle Structure from Electron Microscopy Images
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.