Main Content

dbmex

Enable MEX-file debugging on UNIX platforms

Description

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.

Examples

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.

Version History

Introduced before R2006a