[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to write cell array to csv file
From: |
c. |
Subject: |
Re: How to write cell array to csv file |
Date: |
Wed, 17 Oct 2012 09:01:47 +0200 |
On 17 Oct 2012, at 08:36, Terry Duell wrote:
> I'm sorry if my question was unclear.
> I simply want the array values output to a csv file.
> I am wanting the data values written to a file with each value of the cell
> array delimited by a comma, so that I then load that file into a
> spreadsheet. I would expect the resulting csv file to look something
> like...
> "a string,19.73,100.99....", and when loaded into the spreadsheet, the
> first cell has 'a string', the second cell '19.73', and so on.
> It does appear that one can't output mixed string and numeric to csv...or
> at least that is what my results are indicating, which led to my
> question...can it be done, and how?
>
> Cheers,
Depending on how your data exactly looks like, it might be convenient to use
the dataframe class defined in the dataframe package to handle it and save/load
to/from file.
HTH,
c.