Hello Brian
Sorry for this late answer, but I have been quite busy these days.
I did not notice the problem with this version of the MS programs. Indeed I
have changed the optimization device of all GROCER programs and I have not
adapted the defaults for the MS programs.
If you run:
-- global
Hello,
I need to read in a csv of about 360.000 lines with date and numerical
values. Attached is a sample excerpt of that file.
So far I did:
CODE
// read in
tic
mydat = csvRead('dat04-2011.csv', ';', ',', 'double', [], [], [], 6);
toc (= 5,213 secs)
mydat = mydat(:,2:6);
tic
I had a whole slew of CSV problems too - over a year ago. Guess they
haven't been fixed yet.
Michael Dunn | Editor, EDN Design Ideas
http://www.edn.com/design-ideas/all
PCB http://www.edn.com/design/pc-board, IC/FPGA
http://www.edn.com/design/integrated-circuit-design Medical
Hi
The code you provide does not run on my sci 5.5.0
anyway, i would read only the once the matrix, as a string, and then use
csvTextScan on
mydat(:,2:6)
to convert that part to double. Taht already saves time.
in your loop i believe strtod is extremely slow. Again, use csvtextscan