Where does BANG debugging output come from?

1 Ansicht (letzte 30 Tage)
John
John am 7 Mai 2014
Kommentiert: john stanley am 9 Feb. 2016
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?
  3 Kommentare
Stephen23
Stephen23 am 9 Dez. 2015
@Thomas Blazek: you should put this as an Answer. Then it can get accepted.
Thomas Blazek
Thomas Blazek am 9 Feb. 2016
Bearbeitet: Thomas Blazek am 9 Feb. 2016
Oh sorry, I totally missed this response. Will do!

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Thomas Blazek
Thomas Blazek am 9 Feb. 2016
The BANG debug mode is enabled by entering !! in the command window. It is disabled the same way, by entering !! again.
  1 Kommentar
john stanley
john stanley am 9 Feb. 2016
Thanks.
Now I have to see what other double-special-character things there are that do interesting things! I mean !!.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by