Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

dbmex - Enable MEX-file debugging (on UNIX platforms)

Syntax

dbmex on
dbmex off
dbmex stop

Description

dbmex on enables MEX-file debugging for UNIX[1] platforms. You cannot use dbmex on the Sun Solaris platform.

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.

Remarks

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


[1] UNIX is a registered trademark of The Open Group in the United States and other countries.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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