copy everything, delete the files, rerun script. Are they still being written in wrong order?
-
-
Replying to @o_guest @TimBrock_DtD
the files =txt and mat. Also try a print statement just before and after writing each file that...
1 reply 0 retweets 1 like -
Replying to @o_guest @TimBrock_DtD
prints the system time. That should at least solve the mystery of what of written and when.
2 replies 0 retweets 0 likes -
Replying to @o_guest
Most languages buffer I/O for performance, which can mean things happen when you don't expect them.
1 reply 0 retweets 2 likes -
Replying to @spinicist
the point is to understand what's going on. I stand by understanding how buffer works.
2 replies 0 retweets 1 like -
Replying to @o_guest @spinicist
it seems default Matlab is to flush buffer after each file read/write call anyway. http://blogs.mathworks.com/loren/2006/04/19/high-performance-file-io/ …
1 reply 0 retweets 0 likes -
Replying to @o_guest
Oh lord, do The Mathworks have to do *everything* differently?
1 reply 0 retweets 1 like
differently = wrongly *hides*
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.