This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Enable MEX-file debugging on UNIX platforms


dbmex state


dbmex state enables or disables MEX-file debugging or returns to the debugger prompt on UNIX® platforms.

To use this option, first start MATLAB® from a debugger by typing matlab -Ddebugger, where debugger is the name of the debugger program. If you have already loaded the MEX file, remove it from memory using the clear function. Then call dbmex on before calling your MEX file.


Debug yprime.c with gdb

For instructions on debugging the yprime.c MEX file with the GNU® Debugger gdb, see Debug on Linux Platforms.

Input Arguments

collapse all

Debug control indicator specified as 'on', 'off', or 'stop'. Use 'on' or 'off' to enable or disable MEX-file debugging. Use 'stop' to return to the debugger prompt.

Introduced before R2006a