Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

dbmex

Enable MEX-file debugging on UNIX platforms

Syntax

dbmex state

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.

Introduced before R2006a

Was this topic helpful?