필터 지우기
필터 지우기

Return back to the menu, button return in menu

조회 수: 3 (최근 30일)
Tomas
Tomas 2014년 3월 12일
편집: Tomas 2014년 3월 13일
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.

답변 (1개)

Walter Roberson
Walter Roberson 2014년 3월 13일
See "break"
  댓글 수: 1
Tomas
Tomas 2014년 3월 13일
편집: Tomas 2014년 3월 13일
I want to return in menu, for example see up from choice 3 to choice 2, without closing the menu and restart menu.
Thanks.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by