uicontrol to start over a loop
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
feynman feynman
el 1 de Mzo. de 2024
Comentada: Voss
el 9 de Mzo. de 2024
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 comentarios
Respuesta aceptada
Jon
el 1 de Mzo. de 2024
Editada: Jon
el 1 de Mzo. de 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 comentarios
Voss
el 9 de Mzo. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!