MATLAB LanguageConditions


Syntax

  • if expression ... end
  • if expression ... else ... end
  • if expression ... elseif expression ... end
  • if expression ... elseif expression ... else ... end

Parameters

ParameterDescription
expressionan expression that has logical meaning