What is the fprintf size limit?
古いコメントを表示
is there a size limit for fprintf? I have a code that writes out large text files with one fprintf command, and if the file gets above about 1 Gb, fprintf will not write it out. The size seems to be about 1E9 characters, but I was interested to know the exact number and could not find that number in any documentation.
2 件のコメント
the cyclist
2013 年 4 月 22 日
I see the same behavior [R2013a on Mac running OS X 10.8.3]. The nbytes output is zero, indicating that the command wrote 0 bytes, but there is no error or warning message.
I did a cursory search, and did not find any documentation of this limit.
採用された回答
その他の回答 (1 件)
Richard Laukaitis
2016 年 4 月 19 日
0 投票
use fflush to clear the buffer. The buffer size is being limited.
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!