Generate menu of choices with multiple menu statements

2 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by