Logo Background

else

  • Written by matlabtutorialsmatlabtutorials No Comments Comments
    Last Updated: March 6, 2008

    Used with IF.
    is used with IF. The statements after the are executed
    if all the preceding IF and ELSEIF expressions are false.

    The general form of the IF statement is
    IF expression
    statements
    ELSEIF expression
    statements

    statements
    END

    See also if, elseif, end.