For Howard Schoeberlein, I recently learned from Matlab that the reason for the error that you received is due to the fact that the dll was compiled with Compaq fortran, not now supported in current (2008b) matlab vesion. I just found it myself. I'd provide you the source file if you write.