Creates a membership function for a linguistic variable. You also can use the Define Variable dialog box to create membership functions interactively.

By default, this VI uses a triangle function to determine the degrees of membership for the linguistic variable. You must manually select the polymorphic instance you want to use.


icon

Inputs/Outputs

  • cstr.png name

    name specifies the name of the membership function, or linguistic term, you want to create.

  • cdbl.png value

    value specifies the numerical value of the linguistic variable corresponding to the unique point of the singleton membership function. The degree of membership of the linguistic variable within the linguistic term name is 1 at this value.

  • cerrcodeclst.png error in (no error)

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

  • cu32.png color

    color specifies the color of the membership function when you view the membership function in the Fuzzy System Designer. You can wire a color box constant to this input.

  • icclst.png membership function

    membership function returns the membership function with the shape, points, and color you specify.

  • istr.png name

    name specifies the name of the membership function, or linguistic term, you want to modify.

  • iu16.png shape

    shape specifies the shape of the function that determines the degrees of membership for the linguistic variable.

  • i1ddbl.png points

    points specifies the values of the linguistic variable corresponding to the base and top points, in order from left to right and base to top, of the membership function. The degree of membership of the linguistic variable within the linguistic term name is 0 at the base points and 1 at the top points. Specify one point for a singleton function, three points for a triangle function, and four points for trapezoid, sigmoid, Gaussian, or user-defined functions.

  • iu32.png color

    color specifies the color of the membership function when you view the membership function in the Fuzzy System Designer. You can wire a color box constant to this input.

  • ii32.png user-defined shape index

    user-defined shape index specifies the index of the user-defined shape that determines the degrees of membership for the linguistic variable. This parameter is applicable only if you set shape to User-Defined. Define the user-defined shapes in the user-defined membership function shapes array in both the FL New Fuzzy System VI and the User-Defined instance of the FL Create Membership Function VI.

  • ierrcodeclst.png error out

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