csv loading
Martin Helm
martin at mhelm.de
Thu Apr 16 12:38:44 CDT 2009
> Hi,
>
> I was trying to use csv file that is exported from MySQL database. It
> seems there is a package[1] i can use but it is not reachable. Anybody
> has it?
>
> [1] http://wiki.octave.org/wiki.pl?TipsTricks (A hack to get Hornik's
> "aload.m" function to load Comma Separated Values (*.csv) files)
>
> Or is there any other simple way to use mysql csv files.
The "miscellaneous" package in octave forge http://octave.sourceforge.net
contains a csv2cell function
-- Function File: C = csv2cell (FILE)
-- Function File: C = csv2cell (FILE, SEP)
-- Function File: C = csv2cell (FILE, SEP, PROT)
Read a CSV (Comma Separated Values) file and convert it into a
cell. SEP changes the character used to separate two fields. By
default, two fields are expected to be separated by a coma (`,').
PROT changes the character used to protect a string. By default
it's a double quote (`"').
More information about the Help-octave
mailing list