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

답변 (1개)

Ive J
Ive J 2020년 12월 17일
편집: Ive J 2020년 12월 17일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Low-Level File I/O에 대해 자세히 알아보기

질문:

2020년 12월 17일

편집:

2020년 12월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by