FL Create Membership Function (Singleton) VI
- Updated2025-07-30
- 3 minute(s) read
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.

Inputs/Outputs
name
—
name specifies the name of the membership function, or linguistic term, you want to create.
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.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
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.
membership function
—
membership function returns the membership function with the shape, points, and color you specify.
error out
—
error out contains error information. This output provides standard error out functionality. |
name
—
value
—
error in (no error)
—
color
—
membership function
—
name
—
shape
—
points
—
color
—
user-defined shape index
—
error out
—