To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016
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.
No products are associated with this question.
1 GB file size means 1e9 characters, which are 2e9 bytes. This sounds line a 32 bit limit, so please test, if the limit is at 1073741824 characters. If so, the underlying C-function is the cause of the limit.
There have been further limitations of Matlab string functions, when the data contain CHAR(0) in several releases. Even printing a cell string stopped, when one of the elements contained no data, but this has been fixed in R2006a as far as I remember.