Effacer les filtres
Effacer les filtres

"While gcbo" command on guitar tuner

1 vue (au cours des 30 derniers jours)
John Bitzios
John Bitzios le 19 Août 2014
Commenté : John Bitzios le 19 Août 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

Réponse acceptée

Adam
Adam le 19 Août 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!
  1 commentaire
John Bitzios
John Bitzios le 19 Août 2014
Thanks a lot my friend!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Audio Processing Algorithm Design dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by