"While gcbo" command on guitar tuner

1 次查看(过去 30 天)
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!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Audio Processing Algorithm Design 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by