Question regarding a switch statement
Show older comments
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
Accepted Answer
More Answers (1)
Michael Dimitroulopoulos
on 16 Dec 2013
0 votes
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!