Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Logical If

Specify logical if condition

Description

This component acts as a logical if; it can have the Logical Then, Logical Elseif, or Logical Else components as children components. This component executes its child components when the specified workspace expression is true. It displays specified text when it has no child components. You can specify this component as follows:

  • if
    	then
    

  • if
    	then
    	else
    

  • if
    	then
    	elseif
    	elseif
    	   .
    	   .
    	   .
    	else
    

Properties

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

  • If component has no children, insert text: Inserts specified text into the report when the Logical If component has no children.

Insert Anything into Report?

Depends on specified attribute values.

Class

rptgen_lo.clo_if

Was this topic helpful?