Fastest way to get table data into matlab?

2 visualizzazioni (ultimi 30 giorni)
Darin McCoy
Darin McCoy il 22 Dic 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?

Risposte (1)

Walter Roberson
Walter Roberson il 22 Dic 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.)

Categorie

Scopri di più su MATLAB Report Generator in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by