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.

You are now following this Submission

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.

Cite As

Amund Gjersøe (2026). Example: Making and debugging mex with Visual Studio 2010 and Matlab 2009b (https://www.mathworks.com/matlabcentral/fileexchange/26490-example-making-and-debugging-mex-with-visual-studio-2010-and-matlab-2009b), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Debugging and Improving Code in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0