Creates a consequent, or THEN portion, of a rule for a fuzzy system. A consequent consists of three parts: an output linguistic variable, an operator that specifies to calculate the degree of membership of the output linguistic variable within a linguistic term, and a linguistic term.

You can use the Build Array function or a loop to build an array of rule consequents that you create with this VI. You then can wire the array to the consequents input of the FL Create Rule VI.


icon

Inputs/Outputs

  • ci32.png variable index

    variable index specifies the index of the linguistic variable you want to use for the consequent. variable index corresponds to the order in which the linguistic variable was created.

  • ci32.png membership function index

    membership function index specifies the index of the membership function you want to relate to the corresponding linguistic variable. membership function index corresponds to the order in which the membership function was created.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • inclst.png consequent

    consequent returns the consequent, or THEN portion, of a rule. The first and last parts of the consequent correspond to the variable index and membership function index, respectively. The middle part of the consequent is an operator specifying to calculate mu, the degree of membership of the linguistic variable within the membership function.

  • ii32.png Var Index

    The index of an output linguistic variable.

  • ii32.png MF Index

    The index of the linguistic term.

  • iu16.png Cond

    An operator that specifies whether to calculate the degree of membership or the degree of non-membership of the linguistic variable within a linguistic term.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.