Unfortunately the author could not be reached at his listed address.
When i run this, i get the following error:
??? Error using ==> loadlibrary
Failed to preprocess the input file.
Output from preprocessor is:'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error in ==> setpriority at 23
loadlibrary DLLPriority DLLPriority.h alias SetP
I think the problem is that Matlab is installed in the following location on my machine: C:\Program Files\MATLAB7. This is where it installs by default with R14.
I think it would be a simple change to your code of adding some double quotes to path strings in the source code, in order to make it work.