"While gcbo" command on guitar tuner

2 ビュー (過去 30 日間)
John Bitzios
John Bitzios 2014 年 8 月 19 日
コメント済み: John Bitzios 2014 年 8 月 19 日
Hi there!
I ve been working to figure out how this program works lately and I want to ask what 's the use for the command "while gcbo" on this particular program. I guess its some sort of "while the program runs, do this" , but I am not sure...hopefully I get some feedback on this one...thanks!
program link

採用された回答

Adam
Adam 2014 年 8 月 19 日
Seems to do exactly like you said. If you just use
while true
for an infinite loop the closing of the GUI by the user will not terminate the loop so it will carry on and on and on.
I just tried this to confirm as I have never done it myself.
You can easily create a test program with a single pushbutton in a GUI with a while loop under it. If you try the while true option you'll likely have to resort to Ctrl C to stop it though!
  1 件のコメント
John Bitzios
John Bitzios 2014 年 8 月 19 日
Thanks a lot my friend!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio Processing Algorithm Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by