text file above 43 mb

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

Respuestas (1)

Ive J
Ive J el 17 de Dic. de 2020
Editada: Ive J el 17 de Dic. de 2020

0 votos

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

Categorías

Etiquetas

Preguntada:

el 17 de Dic. de 2020

Editada:

el 17 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by