Modifies the shape, color, or points of a membership function for a linguistic variable. You can modify a membership function from a fuzzy system or from an array of membership functions. The data type you wire to the fuzzy system in input determines the polymorphic instance to use.

Note Modifies a membership function from an array of membership functions.


icon

Inputs/Outputs

  • ci32.png membership function index

    membership function index specifies the index of the membership function you want to modify. membership function index corresponds to the order in which the membership function was created.

  • c1dcclst.png membership functions in

    membership functions in specifies an array of membership functions. Wire the membership functions out output from another VI to the membership functions in input of this VI.

  • cstr.png name

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

  • cu16.png shape

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

  • c1ddbl.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.

  • 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.

  • ci32.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.

  • cstr.png name

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

  • cu16.png shape

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

    0Triangle—Specifies that a triangle function determines the degrees of membership for the linguistic variable.
    1Trapezoid—Specifies that a trapezoid function determines the degrees of membership for the linguistic variable.
    2Singleton—Specifies that a singleton function determines the degrees of membership for the linguistic variable. A singleton function has only one point. Therefore, no value of the linguistic variable has partial membership within the corresponding linguistic term.
    3Sigmoid—Specifies that a sigmoid function determines the degrees of membership for the linguistic variable.
    4Gaussian—Specifies that a Gaussian function determines the degrees of membership for the linguistic variable.
    5User-Defined—Specifies that the user-defined shape corresponding to the user-defined shape index determines the degrees of membership for the linguistic variable.
  • c1ddbl.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.

  • 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.

  • c1dcclst.png user-defined membership function shapes

  • c1ddbl.png Y

  • c1ddbl.png X

  • ci32.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.

  • i1dcclst.png membership functions out

    membership functions out returns an array of membership functions. Wire the membership functions out output of this VI to the membership functions in input of another VI.

  • 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.