MATLAB: Does FWRITE fail to completely write out long vectors in MATLAB

MATLABnfsr12r13r14sambasharedshares

I am using FWRITE to write out a long vector of numbers over a network drive and it is not fully writing out the entire vector. Why is this?

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
We have verified that there is a bug in MATLAB that affects the way that FWRITE handles writing large vectors to files on network drives. To work around this issue, divide up your writing into smaller portions. To accomplish this, you may use FWRITE in a WHILE loop over your data and write a block at a time.