Using a while loop to keep a menu open
7 次查看(过去 30 天)
显示 更早的评论
Hi I am making a script that allows to to choose from different buttons on a menu to get different pictures to pop up. I have a quick question:
Is there a way to keep the menu open so long as I do not click a certain button on it? I want to be able to open multiple things, but right now it closes me out after the first selection. I have an "Exit" button as "case 15." To do this I want to use a while loop. So I want the menu to stay open so while loop =/= case 15 stay open.
1 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!