dbmex

Enable MEX-file debugging (on UNIX platforms)

Syntax

dbmex on
dbmex off
dbmex stop

Description

dbmex on enables MEX-file debugging for 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. Invoke dbmex on before calling your MEX-file. If you have already loaded the MEX-file, remove it from memory using the clear function.

dbmex off disables MEX-file debugging.

dbmex stop returns to the debugger prompt.

Was this topic helpful?