Octave: importing a large matrix in csv format

Posted by Massagran on Stack Overflow See other posts from Stack Overflow or by Massagran
Published on 2010-03-24T14:21:19Z Indexed on 2010/03/24 14:23 UTC
Read the original article Hit count: 380

Filed under:
|
|
|
|

I'm trying to import a matrix (about 80.000 rows) from a csv file to Octave. The obvious solution seems something like:

load("-ascii","relative_directory/the_file.csv")

or maybe renaming the file and trying:

load("-ascii", "relative_directory/the_file.txt")

Yet I keep getting the error:

load: failed to read matrix from file "relative_directory/the_file.csv"

or .txt without anymore details. Any tips are appreciated.

© Stack Overflow or respective owner

Related posts about octave

Related posts about import