MATLAB: Where does BANG debugging output come from

matlab 2010a system unix

I just had a user show me the oddest thing. Every time he did an 'ls' in matlab.2010a, the output consisted of the directory listing but also had a number of lines that started with 'BANG' and reported things like reads from pty and bytes read.
I assume this is some kind of debug mode he accidentally activated, but I couldn't find anything in preferences that might be applicable. I can't imagine that anyone has been sneaky enough to overload 'system' to do this, and a quick search here reveals nothing.
Can anyone shed some light on this?

Best Answer

The BANG debug mode is enabled by entering !! in the command window. It is disabled the same way, by entering !! again.