uicontrol to start over a loop
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Jon
2024-3-1
编辑:Jon
2024-3-1
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 个评论
Voss
2024-3-9
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!