Skip to Main Content Skip to Search
Product Documentation

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 the MATLAB software from a debugger by typing matlab -Ddebugger, where debugger is the name of the debugger program. You must invoke dbmex on before calling your MEX-file. If you have already loaded the MEX-file, use the clear function to remove it from memory.

dbmex off disables MEX-file debugging.

dbmex stop returns to the debugger prompt.

Tips

For more information about debugging MEX-files, see the Technical Support solution 1-17Z0R at http://www.mathworks.com/support/solutions/data/1-17Z0R.html.

See Also

dbclear | dbcont | dbdown | dbquit | dbstack | dbstatus | dbstep | dbstop | dbtype | dbup

  


» Learn more
» Download free kit
» Get trial software

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS