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
as a person with a compsci past I'd never drop this until I knew. But then again Matlab... 
2:30 AM - 5 Sep 2016
0 replies
0 retweets
0 likes
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.