Documentation Center

  • Trial Software
  • Product Updates


Enable MEX-file debugging (on UNIX platforms)


dbmex on
dbmex off
dbmex stop


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


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

See Also

| | | | | | | | |

Was this topic helpful?