Fastest way to get table data into matlab?

1 view (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?

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.)

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!