"While gcbo" command on guitar tuner

2 Ansichten (letzte 30 Tage)
John Bitzios
John Bitzios am 19 Aug. 2014
Kommentiert: John Bitzios am 19 Aug. 2014
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

Akzeptierte Antwort

Adam
Adam am 19 Aug. 2014
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!

Weitere Antworten (0)

Kategorien

Mehr zu Audio Processing Algorithm Design 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