Exit while loop and close screens after 10 mouse presses
Mostra commenti meno recenti
I am using Psychtoolbox to design a fake experiment. I have all of the code correct, but I can't get it to close after 10 mouse clicks. I tried to start the whole thing with for i=1:10, with the actual code in a while loop under this for loop, but I don't know how to relate i with number of mouse clicks.
Thank you!
1 Commento
Walter Roberson
il 24 Ott 2015
How are you detecting mouse clicks?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Timing and presenting 2D and 3D stimuli in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!