csvexport(filename,​cellVals)

For those mac lovers who never got xlswrite or csvwrite to work
259 Downloads
Updated 25 Nov 2014

View License

Simple command to convert a cell array into a CSV file, easily accessible to matlab. No extensions, no java, no fuss. Purely fopen, fwrite, fclose. Pretty basic, does not position the array into a specific location/range. Obviously no sheet option because it is not an excel file. I will be happy to add range functionality if there is a strong demand, but it is relatively straight-forward to read and append file (see csvimport.m)

Cite As

Pratik Chhatbar (2024). csvexport(filename,cellVals) (https://www.mathworks.com/matlabcentral/fileexchange/48560-csvexport-filename-cellvals), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
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!
Version Published Release Notes
1.0.0.0