5.0

5.0 | 1 rating Rate this file 28 Downloads (last 30 days) File Size: 7.77 MB File ID: #26490
image thumbnail

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

by Amund Gjersøe

 

27 Jan 2010

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

| Watch this File

File Information
Description

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 (2009b)
Other requirements Visual Studio 2010
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
31 Mar 2010 Igor

Thanks. Very useful examples!

28 May 2010 Paul

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.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
visual studio Amund Gjersøe 27 Jan 2010 09:32:34
mex Amund Gjersøe 27 Jan 2010 09:32:34
mexw32 Amund Gjersøe 27 Jan 2010 09:32:34
debug Amund Gjersøe 27 Jan 2010 09:32:34
ide Amund Gjersøe 27 Jan 2010 09:32:34

Contact us at files@mathworks.com