• Uncategorised

case

Matlab Case Switch Statement

case SWITCH statement case.
case is part of the SWITCH statement syntax, whose general form is:

SWITCH switch_expr
case case_expr,
statement, …, statement
case {case_expr1, case_expr2, case_expr3,…}
statement, …, statement

OTHERWISE,
statement, …, statement
END

See SWITCH for more details.

You may also like...