How to handle big files

3 ビュー (過去 30 日間)
Ancalagon8
Ancalagon8 2018 年 9 月 1 日
編集済み: Ancalagon8 2025 年 1 月 6 日
I have huge files and i want to know how i can handle them. Is splitting the big file the only option i have?

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 9 月 1 日
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.

カテゴリ

Help Center および File ExchangeData Import and Export についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by