필터 지우기
필터 지우기

return in switch, back in switch

조회 수: 3 (최근 30일)
Tomas
Tomas 2013년 12월 9일
답변: Walter Roberson 2013년 12월 9일
I have switch, I wanna returned in switch
c=menu('Výber dát','preddefinovane');
switch c
case 1
subori=menu('Vyber subor','subor1','subor2','subor3')
switch subori
case 1
MON = xlsread('subor1.xlsx')
case 2
MON = xlsread('subor2.xlsx')
case 3
MON = xlsread('subor3.xlsx')
otherwise
error('chybny vstup')
end
end
I want more button than back in switch
Thanks.
  댓글 수: 2
Arturo Moncada-Torres
Arturo Moncada-Torres 2013년 12월 9일
Could you please state your question more clearly? Honestly I didn't get it :-\ .
Tomas
Tomas 2013년 12월 9일
I want one more button to return at the end I need to use while loop

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

답변 (1개)

Walter Roberson
Walter Roberson 2013년 12월 9일
case 4
return
??

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by