Remove a variable.

Description

Removes a specified variable and all its attached membership functions from a given FIS object.

Usage

1
removeVar(FIS, varType, varIndex)

Arguments

FIS

A FIS is required.

varType

Should be either 'input' or 'output', representing the type of variable to be removed.

varIndex

The index of the variable that is to be removed (Base 1).

Value

A FIS with the specified variable removed.

Author(s)

Craig Knott, Luke Hovell, Nathan Karimian

Examples

1
2
FIS <<- tippertest()
FIS <<- removeVar(FIS, "input", 1)