Question regarding a switch statement
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
Michael Dimitroulopoulos
2013 年 12 月 16 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Programming についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!