Using a while loop to keep a menu open
2 views (last 30 days)
Show older comments
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 Comment
Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!