Using 'OR' operator with 'case' statement
Mostra commenti meno recenti
Is it good programming practice to use 'OR' operator with 'case' statement. I want to associate multiple values of 'switch' statement with each 'case' statement like below.
switch value
case 1|2|3
execute this
case 4|5|6
execute this
end
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Automated Driving Toolbox in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!