csvWrite Cell with strings and doubles

classic Classic list List threaded Threaded
2 messages Options
Achim M Achim M
Reply | Threaded
Open this post in threaded view
|

csvWrite Cell with strings and doubles

This post has NOT been accepted by the mailing list yet.
Hi,

I would like to save a csv file where I have a header (text) and a matrix (M).
This works very fine as long my M consists out of the same type.
Now I would like to have that the first coloum of M made out of strings and the rest out of integers. Therefore I created a cell array but this array I can not save as matrix with csvWrite.

Is there any possibility to realizing this saving?

Best,
Achim
Achim M Achim M
Reply | Threaded
Open this post in threaded view
|

Re: csvWrite Cell with strings and doubles

This post has NOT been accepted by the mailing list yet.
Sorry guys.

I found the solution by searching for a different therm in this forum.
When I convert the numbers into strings it works perfectly fine....

Best,
Achim