uicontrol to start over a loop
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
uiwait/uiresume through uicontrol can be used to pause/continue a loop. Is there a corresponding ui+... to start over a loop from scratch that already finished running?
0 commentaires
Réponse acceptée
Jon
le 1 Mar 2024
Modifié(e) : Jon
le 1 Mar 2024
Not sure from your description exactly what you are trying to accomplish, but lets say you want to run the loop whenever the user pushes a button on the UI. Then just have the callback function for the button press initialize and run the loop.
4 commentaires
Voss
le 9 Mar 2024
You can use GUIDE, or you can create the button programmatically using the uicontrol function or the uibutton function if your figure is a uifigure.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps 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!