Documentation Center

  • Trials
  • Product Updates

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, remove it from memory using the clear function.

dbmex off disables MEX-file debugging.

dbmex stop returns to the debugger prompt.

More About

expand all

Tips

For more information about debugging MEX-files, see Debug C/C++ Language MEX-Files.

See Also

| | | | | | | | |

Was this topic helpful?