help-octave
[Top][All Lists]
Advanced

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

Re: CSV Import


From: ramack
Subject: Re: CSV Import
Date: Sun, 27 Jan 2013 15:30:12 -0800 (PST)

I realize this is an old thread that I'm resurrecting, but it is very similar
to what I am wanting to do. I need to load or import a text file with a
date/time stamp in the first column, header info is in the first row.  

The partial contents of the file.csv are:
"Date","Time","Open","High","Low","Close","Total Ticks"
1/26/2012 5:00,1.06293,1.06688,1.05914,1.06507,96345

Using dlmread("file.csv",",") 
0 0 0 0 0 0 0
1 1.06293 1.06688 1.05914 1.06507 96345 0

I'm not sure what I need to do in order to retain the date/time stamp.  How
can the first column be imported as a character string while the remaining
columns are numeric.
Rich




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


reply via email to

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