Wait for a button to be pressed to continue the function - APP DESIGNER
Afficher commentaires plus anciens
Hi, there. I have the following problem. I have a callback created that calculates a number of things. When I'm calculating a particular thing, what I want is for the execution to stop until I press another button. And once I've pressed it, go on. I tried waitfor but to no avail...
The code will be something like…
% Button pushed function: Button
function ButtonPushed(app, event)
disp('A')
wait for button2 pushed
disp('B')
end
And I don't want to create an uifigure.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Historical Contests dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!