Is there any way to speed up fclose when writing many small files?
조회 수: 8 (최근 30일)
이전 댓글 표시
I need to write a very large number of distinct individual files to an SSD. Opening and writing these files is quick, but fclose is painfully slow.
Is there a way to speed this process? I am using a 2TB external drive.
댓글 수: 0
답변 (1개)
Benjamin Thompson
2022년 3월 22일
Maybe push all the closing to the end and use fclose('all')? Is it possible there is still a write operation being completed and that is holding things up?
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!