Clear Filters
Clear Filters

"While gcbo" command on guitar tuner

1 view (last 30 days)
John Bitzios
John Bitzios on 19 Aug 2014
Commented: John Bitzios on 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

Accepted Answer

Adam
Adam on 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!

More Answers (0)

Categories

Find more on Audio Processing Algorithm Design in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!