Error in ==> sacwaveform_reformat02 at 135
fclose('all');"
The external harddrive is 3% full when this error occurs.
Does anybody have any suggestions as to what may cause this? Is this a MATLAB problem or does it have to do with the partitioning/fs of the external harddrive?
Thanks in advance for any help!
Ole
The disk drive is the first suspect to check. I have no idea
how those kinds of things work, but you should first of all
verify that you are writing to the correct disk.
If the data through-put is large, you might want to write
the data in small batches (make sure file sizes are less
than 2GBytes) and also pause the data stream every now and
then. As I understand it, the actual USB I/O between the PC
and the disk is verys slow, so there might be caches in the
system that overflow if the data stream is too fast - which
might explain the observed behaviour.
There is no reason to expect any of this to have anything to
do with matlab. In that case, the error messagewould be expected
to mention 'memory', not 'device'.
Rune
Apparently VFAT isn't happy with large number of files (see the following threat http://forum.soft32.com/linux/USB-vfat-space-left-device-ftopict425876.html ). I tried saving to the internal harddrive (EXT3) and had no problems.
Although I haven't tested my NTFS formated external harddrive, I suspect that it may work also.
Thanks for your quick help.
Best,
Ole