Dear Daltanious did you finally manage to write the wrapper? I am working on it and I prepared some code, everything looks fine until I start using the functions in the DLL generated in MATLAB. I got error 126