External Interfaces Previous page   Next Page

Debugging C Language MEX-Files

On most platforms, it is now possible to debug MEX-files while they are running within MATLAB. Complete source code debugging, including setting breakpoints, examining variables, and stepping through the source code line-by-line, is now available.

To debug a MEX-file from within MATLAB, you must first compile the MEX-file with the -g option to mex.


Previous page  Using LAPACK and BLAS Functions Debugging on UNIX Next page

© 1994-2005 The MathWorks, Inc.