View License

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

» Watch video

3.7 | 3 ratings Rate this file 4 Downloads (last 30 days) File Size: 7.77 MB File ID: #26490 Version: 1.0
image thumbnail

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



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

| Watch this File

File Information

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.

MATLAB release MATLAB 7.9 (R2009b)
Other requirements Visual Studio 2010
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
07 May 2013 Pieter Reyneke

11 Dec 2012 zhou jianshan

thank you!

28 May 2010 Paul

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.

Comment only
31 Mar 2010 Igor

Igor (view profile)

Thanks. Very useful examples!

Contact us