File Exchange

image thumbnail

Example: Making and debugging mex with Visual Studio 2010 and Matlab 2009b

version 1.0 (7.77 MB) by

Develop and debug Matlab mex-files using Visual Studio 2010 and its compilator.

3 Ratings

1 Download


View License

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.

Comments and Ratings (4)

zhou jianshan

thank you!


Paul (view profile)

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.


Igor (view profile)

Thanks. Very useful examples!

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video