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 件のコメント

Thomas Blazek
Thomas Blazek 2015 年 12 月 9 日
Since I hit on this unanswered question while searching for the same problem, I want to document the resolution: The BANG debug mode is enabled by entering !! in the command window. It is disabled the same way, by entering !! again.
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 日

2 投票

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 件)

カテゴリ

ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by