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

1 Ansicht (letzte 30 Tage)
Please help.
  3 Kommentare
Aditya
Aditya am 23 Jan. 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 am 23 Jan. 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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by