(To be removed) Remove variables from fuzzy inference system
rmvar
will be removed in a future release. Use
removeInput
or removeOutput
instead. For
more information, see Compatibility Considerations.
fis = rmvar(fis,varType,varIndex)
[fis,errorStr] = rmvar(fis,varType,varIndex)
fis = rmvar(fis,varType,varIndex)
removes the
variable varType
, of index varIndex
, from the
fuzzy inference system associated with the workspace FIS structure,
fis
:
SpecifyvarType
as either 'input'
or
'output'
.
varIndex
is an integer for the index of the variable. This
index represents the order in which the variables are listed.
[fis,errorStr] = rmvar(fis,varType,varIndex)
returns any error messages to the character vector, errorStr
.
This command automatically alters the rule list to keep its size consistent with the current number of variables. You must delete from the FIS any rule that contains a variable you want to remove, before removing it. You cannot remove a fuzzy variable currently in use in the rule list.
addMF
| addRule
| addvar
| removeInput
| removeOutput
| rmmf