I have a huge text file (.txt), how to read the data in text to a hashtable in matlab.

1 visualizzazione (ultimi 30 giorni)
Please help.
  3 Commenti
Aditya
Aditya il 23 Gen 2014
Walter, Yes! I want to use the container class. And I want to write my own code for my program, can u help me doing so.
Also let me know if there are any alternatives like textscan(), functions that can be used to read huge files.
Thanks
Walter Roberson
Walter Roberson il 23 Gen 2014
If this is the same files as for your earlier http://www.mathworks.co.uk/matlabcentral/answers/113231-how-to-handle-1-gb-2gb-txt-files-efficiently-in-matlab-i-used-textscan-is-it-efficient then you will need to answer the questions I asked there before I can make a recommendation.
What would be a typical key for your purpose? And what would be a typical value?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by