| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
dbmex on
dbmex off
dbmex stop
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.
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.
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.
![]() | dblquad | dbquit | ![]() |

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 |