Updated an earlier submission to the new versions of Visual Studio and Matlab. C-programming is more suited in a IDE like Visual Studio, thus this submission. The mex-files are called 'mexw32' instead of 'dll', since Matlab will not support 'dll'-naming in the future.
Unfortunately, I keep getting linker errors: unresolved token and unresolved external symbol. Both of these errors refer to the mx-functions (such as mxGetPr etc.) I have included libmx, libmex and libmat in the linker input folder.
Thanks. Very useful examples!
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.