according to the help, csv2cell should protect the string "1". As the following sequence of commands shows this is not the case, however.
octave:> csvwrite("foo.csv", "\"1\"", "DELIMITER", "") octave:> system("cat foo.csv"); "1" octave:> s = csv2cell("foo.csv"){1} ; octave:> whos s Variables in the current scope: Attr Name Size Bytes Class ==== ==== ==== ===== ===== s 1x1 8 double Total is 1 element using 8 bytes M. ---------------------------------------------------------------------- GNU Octave Version 3.3.54+ GNU Octave License: GNU General Public License Operating System: Linux 2.6.36-trunk-amd64 #1 SMP Wed Oct 27 14:28:29 UTC 2010 x86_64 ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev