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!