Fastest way to get table data into matlab?

1 次查看(过去 30 天)
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?

回答(1 个)

Walter Roberson
Walter Roberson 2011-12-22
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.)

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by