Main Content

Logical Elseif

Specify an elseif condition for a Logical If component

Description

This component acts as an elseif when it is the child of the Logical If component. You must specify this component as follows:

if
	then
	elseif
	elseif
	   .
	   .
	   .
	else

Properties

  • Test expression: Specifies a MATLAB® expression to evaluate.

  • If component has no children, insert text: Inserts the specified text into the report when the Logical Elseif component has no child components. In this case, this component acts like the Text component.

Insert Anything into Report?

Yes, when parent if statement is false.

Class

rptgen_lo.clo_else_if