return in switch, back in switch
显示 更早的评论
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
2013-12-9
Could you please state your question more clearly? Honestly I didn't get it :-\ .
Tomas
2013-12-9
回答(1 个)
Walter Roberson
2013-12-9
case 4
return
??
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
