MATLAB Answers

Fastest way to get table data into matlab?

10 views (last 30 days)
Darin McCoy
Darin McCoy on 22 Dec 2011
Hi - i'm trying to figure out what the best way to get "table"-like cell data into matlab.
Right now - i have the data in a CSV file and i'm using the function CSV2CELL to extract it
A slightly faster way is to then save that as a MAT file and then just load that MAT file.
Anybody know a faster way than either of those?

  0 Comments

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 22 Dec 2011
There are too variable factors for there to be a "fastest" way for anything.
Generally speaking, using binary files and writing the read routine in C or C++ would be faster, but I would not want to exclude the possibility that loading a -v7 .mat file would be faster yet. (I would not expect a -v7.3 .mat file to be fastest.)

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags