text file above 43 mb
2 views (last 30 days)
Show older comments
can u please tell me how to read a text file greater tha 43mb in matlab , containing more than 5 million rows and 4 columns
0 Comments
Answers (1)
Ive J
on 17 Dec 2020
Edited: Ive J
on 17 Dec 2020
MATLAB offers lots of ways to read text files, including textscan, readtable, fileread or low-level I/O (fread). However, when you deal with larger files (note that 43 mb is not even close to being large, maybe 2 GB or larger), datastore or memmapfile are quite useful. For start, you can check
doc tabularTextDatastore
0 Comments
See Also
Categories
Find more on Text 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!