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

Please help.

3 Comments

Are you planning to use container class or to use one of the hashtable implementations in the File Exchange, or to write your own?
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
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?

Sign in to comment.

Answers (0)

Asked:

on 23 Jan 2014

Commented:

on 23 Jan 2014

Community Treasure Hunt

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

Start Hunting!