Where does BANG debugging output come from?

조회 수: 7 (최근 30일)
John
John 2014년 5월 7일
댓글: john stanley 2016년 2월 9일
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
Stephen23
Stephen23 2015년 12월 9일
@Thomas Blazek: you should put this as an Answer. Then it can get accepted.
Thomas Blazek
Thomas Blazek 2016년 2월 9일
편집: Thomas Blazek 2016년 2월 9일
Oh sorry, I totally missed this response. Will do!

댓글을 달려면 로그인하십시오.

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Just for fun에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by