External Interfaces |
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.
Note The section entitled, Troubleshooting, provides additional information on isolating problems with MEX-files. |
To debug a MEX-file from within MATLAB, you must first compile the MEX-file with the -g
option to mex
.
Note
MEX-files built with the -g option cannot be deployed to a separate computer system because they rely on files that are not distributed with MATLAB.
|
Using LAPACK and BLAS Functions | Debugging on UNIX |
© 1994-2005 The MathWorks, Inc.