Clear Filters
Clear Filters

Generate menu of choices with multiple menu statements

2 views (last 30 days)
Can multiple menu statements be done in this way?
choice1 = menu('Please choose a color','Black','Brown','Red','Orange','Yellow','Green','Blue','Violet','Gray','White');
choice2 = menu('Please choose a color','Black','Brown','Red','Orange','Yellow','Green','Blue','Violet','Gray','White');
choice3 = menu('Please choose a color','Black','Brown','Red','Orange','Yellow','Green','Blue','Violet','Gray','White');
choice4 = menu('Please choose a color','Black','Brown','Red','Orange','Yellow','Green','Blue','Violet','Gray','White');
Please advise

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!