Efficient way to import data
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
jingz3
am 19 Jun. 2018
Bearbeitet: jingz3
am 20 Jun. 2018
What is the convenient way to import from a csv file containing numbers and letters for data sorting (like Excel filter function)? Does it matter if I read it as table instead of string arrays?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 19 Jun. 2018
The most convenient way is typically readtable()
The most efficient way appears to be to use textscan(), according to the timings that people have posted. I have seen one report that in some cases readtable() can be much much slower -- though for my purposes it has always been a reasonable speed.
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!