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 CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by