Return back to the menu, button return in menu

2 visualizaciones (últimos 30 días)
Tomas
Tomas el 12 de Mzo. de 2014
Editada: Tomas el 13 de Mzo. de 2014
Hello,
I have a menu for example"
choice1 = menu('LL,'COLOR,'METHODS')
switch choice1
case 1
choice2 = menu('Choose a color','Red','Blue','Green')
switch choice 2
case 1 .....
case 2
end
switch choice 3
choice2 = menu('Choose a methods','KMNS','MLR')
case 1....
end
end
My question is, i want more button back, for example
choice1 = menu('LL,'COLOR,'METHODS')
switch choice1
case 1
choice2 = menu('Choose a color','Red','Blue','Green','back')
switch choice 2
case 1 .....
case 2
end
switch choice 3
choice2 = menu('Choose a methods','KMNS','MLR','back')
case 1....
end
end
I want to basically go back in the menu.
Thanks for help.

Respuestas (1)

Walter Roberson
Walter Roberson el 13 de Mzo. de 2014
See "break"
  1 comentario
Tomas
Tomas el 13 de Mzo. de 2014
Editada: Tomas el 13 de Mzo. de 2014
I want to return in menu, for example see up from choice 3 to choice 2, without closing the menu and restart menu.
Thanks.

Iniciar sesión para comentar.

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by