Borrar filtros
Borrar filtros

return in switch, back in switch

3 visualizaciones (últimos 30 días)
Tomas
Tomas el 9 de Dic. de 2013
Respondida: Walter Roberson el 9 de Dic. de 2013
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 comentarios
Arturo Moncada-Torres
Arturo Moncada-Torres el 9 de Dic. de 2013
Could you please state your question more clearly? Honestly I didn't get it :-\ .
Tomas
Tomas el 9 de Dic. de 2013
I want one more button to return at the end I need to use while loop

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 9 de Dic. de 2013
case 4
return
??

Categorías

Más información sobre Get Started with MATLAB 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