Why does FWRITE fail to completely write out long vectors in MATLAB?

3 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
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.

更多回答(0 个)

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by