Question regarding a switch statement
Ältere Kommentare anzeigen
Can I have multiple types of arguments in a switch statement? Eg
switch n
case 'abc'
% do something
case 4
% do something else
otherwise
end
Akzeptierte Antwort
Weitere Antworten (1)
Michael Dimitroulopoulos
am 16 Dez. 2013
0 Stimmen
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!