Question regarding a switch statement
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Michael Dimitroulopoulos
le 16 Déc 2013
0 votes
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!