Fastest way to get table data into matlab?

1 visualización (últimos 30 días)
Darin McCoy
Darin McCoy el 22 de Dic. de 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?

Respuestas (1)

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

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by