Example and Functions

Matlab and Simulink Controls

  • else

    else Used with IF. else is used with IF. The statements after the else are executed if all the preceding…

    Read More »
  • case

    Matlab Case Switch Statement case SWITCH statement case. case is part of the SWITCH statement syntax, whose general form is:…

    Read More »
  • Controls

    The Colon Operator

    The colon, :, is one of MATLAB’s most important operators. It occurs in several different forms. The expression 1:10 is…

    Read More »
  • if

    if if statement condition. The general form of the if statement is if expression statements ELSEIF expression statements ELSE statements…

    Read More »
  • continue

    continue Pass control to the next iteration of FOR or WHILE loop. continue passes control to the next iteration of…

    Read More »
  • end

    end Terminate scope of FOR, WHILE, SWITCH, TRY, and IF statements. Without END’s, FOR, WHILE, SWITCH, TRY, and IF wait…

    Read More »

Block Title

Back to top button