Fuzzy Logic Toolbox    
rmvar

Remove variables from an FIS.

Syntax

Description

fis2 = rmvar(fis,'varType',varIndex) removes the variable 'varType', of index varIndex, from the fuzzy inference system associated with the workspace FIS structure, fis:

[fis2,errorStr] = rmvar(fis,'varType',varIndex) returns any error messages to the string, 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.

Examples

returns

returns

See Also

addmf, addrule, addvar, rmmf


  rmmf ruleedit