help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using cell2csv


From: seektime
Subject: Re: Using cell2csv
Date: Tue, 11 Jun 2013 16:59:40 -0700 (PDT)

looks to me as if you created a cell array of cell arrays. although I haven't
tried using this as an arg in cell2csv, it might not work.

fill your "datavals" array using this syntax:

> datavals{1,1}='header1';
> datavals{1,2}='header2'; 
...
> datavals{2,3}=30;

So that when you call datavals you see this in the stdout:

datavals =
{
  [1,1] = header1
  [2,1] =  10
  [1,2] = header2
  [2,2] =  20
  [1,3] = header3
  [2,3] =  30
}

Hope this helps,
Michael



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Using-cell2csv-tp4654022p4654092.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]