C++ MEX symbolic debugging

Tutorial: Microsoft C++ IDE setup directions for compiler and linker for symbolic MEX debugging.
Updated 15 Jan 2009

No License

Tutorial contains directions to setup the microsoft visual c++ compiler and linker to create MEX functions. Then shows how to debug the resulting MEX files under MSVC's IDE.

Shows in great detail how to setup the compiler, the linker and finally MATLAB itself so that debugging is no longer limited to mexPrintf statements scattered throughout your code.

This means the auto variables, locals, the "this" pointer and registers are all fair game for debugging.

I hate wordy explanations - pictures are better and this is what the tuturial contains. It explicitly shows what dialog boxes look like and how to fill them in to get you up and running fast.

Cite As

michaelB brost (2024). C++ MEX symbolic debugging (https://www.mathworks.com/matlabcentral/fileexchange/22691-c-mex-symbolic-debugging), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Debugging and Analysis in Help Center and MATLAB Answers

Inspired: ARFIMA(p,d,q) estimator

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes