How to handle big files
3 views (last 30 days)
Show older comments
I have huge files and i want to know how i can handle them. Is splitting the big file the only option i have?
0 Comments
Answers (1)
Walter Roberson
on 1 Sep 2018
Another approach is to fopen() the file, and textscan() using a repeat count (a number as the parameter after the format string) to control how many lines are read at a time; you would read a chunk, process it, go back to read another chunk, and so on.
0 Comments
See Also
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!