Works brilliantly in my case. Replaces a loop with ~1 million iterations, brings down execution time by several orders of magnitude.
Plus it is well-written and well-documented and a numerically robust method.
09 Jul 2014
Set figure size, top-most, transparency and pixel mask, multi-monitor etc by Windows API
Author: Jan Simon
I noticed a minor bug in the 'readall' option where in the keys return value, the last subsection is repeated for subsequent empty subsection names. My fix was to add
subsecStr = '';
in readallkeys(filename) under the if statement 'if status == 1' where new section names are incorporated.