How to handle big files

3 visualizzazioni (ultimi 30 giorni)
Ancalagon8
Ancalagon8 il 1 Set 2018
Modificato: Ancalagon8 il 6 Gen 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?

Risposte (1)

Walter Roberson
Walter Roberson il 1 Set 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.

Categorie

Scopri di più su Workspace Variables and MAT Files in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by