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

Réponses (1)

Ive J
Ive J le 17 Déc 2020
Modifié(e) : Ive J le 17 Déc 2020

0 votes

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

Modifié(e) :

le 17 Déc 2020

Community Treasure Hunt

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

Start Hunting!

Translated by