How to handle big files

2 visualizaciones (últimos 30 días)
Ancalagon8
Ancalagon8 el 1 de Sept. de 2018
Editada: Ancalagon8 el 6 de En. de 2025
I have huge files and i want to know how i can handle them. Is splitting the big file the only option i have?

Respuestas (1)

Walter Roberson
Walter Roberson el 1 de Sept. de 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.

Categorías

Más información sobre Workspace Variables and MAT Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by