procced the for loop until UIButton pushed
Afficher commentaires plus anciens
Hi all, I want to wait in my For loop until a UI button has been pressed. Is there a function for this?
for v = 1:10
MeasurementStart(app,v)
AxesValue(app,v)
pause(5)
% do not proceed until the button is pressed
end
Réponses (1)
Aghamarsh Varanasi
le 19 Avr 2021
Modifié(e) : Aghamarsh Varanasi
le 19 Avr 2021
0 votes
Catégories
En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!