if expression
statements
else
statements
end
else
is used to delineate an alternate block of statements.
The second set ofif expression
statements
else
statements
end
statements
is executed if the expression
has any zero elements. The expression is usually the result of
expression rop expression
where rop
is ==, <, >, <=, >=,
or
~=
.
See Also
elseif
,if
(c) Copyright 1994 by The MathWorks, Inc.