Matlab fprintf function

broken image
broken image
broken image

In many cases, using fwrite provides the fastest alternative to saving data files ( save(…,’-v6′) coming a close second). Today’s post is about the well-known fwrite function, which is used to write binary data to file. So taking some artistic liberty coupled with some influence over this blog’s owner, I’ll mention some of these interesting discoveries here, even if they are not strictly-speaking undocumented.

broken image

In many cases these aspects are not un-documented per-se, but are certainly not well known in the Matlab community. During my work on this book, I encounter many surprising aspects of Matlab performance. Readers of this blog are probably aware by now that I am currently writing my second book, MATLAB Performance Tuning (expected publication date: early 2014, CRC Press).

broken image