Cell Array to CSV-file [cell2csv.m]
by Sylvain Fiedler
22 Jan 2004
(Updated 03 Nov 2010)
Writes a cell array into a comma separated values text file (*.csv)
|
Watch this File
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 7.8 (R2009a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (24) |
| 13 May 2004 |
Ted Skolnick
|
|
|
| 10 Aug 2004 |
Juan F. Navas
|
|
|
| 17 Mar 2005 |
Sergio Lucero
|
|
|
| 23 Mar 2005 |
Marcelo Zeri
|
|
|
| 27 Apr 2005 |
C T
|
|
|
| 05 May 2005 |
R K
|
|
|
| 10 Jun 2005 |
P L
|
|
|
| 04 Aug 2005 |
Miklos Argyelan
|
|
|
| 15 Sep 2005 |
Manish Mittal
|
|
|
| 16 Sep 2005 |
Mike B
|
|
|
| 26 Oct 2005 |
Chris Curtis
|
|
|
| 08 Mar 2006 |
Kevin Keegan
|
|
|
| 21 May 2006 |
Joe Lotz
|
|
|
| 23 May 2006 |
Wouter Rogiest
|
|
|
| 02 Aug 2006 |
R B
|
|
|
| 02 Aug 2006 |
R B
|
|
|
| 26 Sep 2006 |
helen chen
|
|
|
| 02 Sep 2009 |
Anastasia
|
|
|
| 17 Mar 2010 |
Ivan Brezani
|
|
|
| 13 Jan 2011 |
Irene
|
|
|
| 09 Aug 2011 |
Robert
|
|
|
| 07 Sep 2011 |
Wouter
|
|
|
| 06 Mar 2012 |
Reza Farrahi Moghaddam
|
|
|
| 29 Mar 2012 |
Pearl
|
|
|
| Updates |
| 24 Jan 2005 |
Updated to work easier with OfficeXP. |
| 31 Jan 2005 |
adapted separator for OfficeXP |
| 09 Mar 2006 |
Improved file to wirk with Excel 97,2000 oder alternatively with Excel 2003.
Microsoft changed the default seperator, so now when Excel Version is > 2003, it is taken care of. |
| 27 Jun 2008 |
Fixed the bug when cell array contained a logical variable |
| 03 Nov 2010 |
Added the choice of the decimal separator |
|
Contact us at files@mathworks.com