How to handle 1 GB - 2GB .txt files efficiently in matlab, I used textscan. Is it efficient?
1 view (last 30 days)
Walter Roberson on 22 Jan 2014
What do you need to do with the text file? Is it a text file that consists just of numbers, or does it have additional information? Do you want to read in all of the numbers in it or just some columns?
How often will you need to process any given text file? Sometimes pre-processing it outside of MATLAB to make it easier for MATLAB to read can be time-efficient, and the relative efficiency goes up the more often you re-use the same file.