I love the toolbox, it was invaluable with a recent project, but it seems to cause an error with the MEX function. I am using Windows 7 64-bit system with MATLAB R2011b. I went through a lot of troubleshooting with MathWorks help, so I'm confident this was the source.