Set a property (field) value of an FIS structure and return the updated FIS. There are three forms of setfis:
Action Taken
Set a property of the FIS structure. The properties that may be set are: name, type, andmethod, ormethod, impmethod, addmethod, defuzzmethod, and version.
Set a property of an input or output variable of the FIS structure. The properties that may be set are: name and range.
Set a property of a membership function. The properties that may be set are: name, type, and params.
The types of the arguments are expected to be:
an FIS structure
a string; one of ’name’, ’type’, ’andmethod’, ’ormethod’, ’impmethod’, ’addmethod’, ’defuzzmethod’, and ’version’ (case-insensitive)
a number (if property is ’version’); a string (otherwise)
either ’input’ or ’output’ (case-insensitive)
a valid integer index of an input or output FIS variable
a string; either ’name’ or ’range’
a string (if var_property is ’name’) or a vector range (if var_property is ’range’)
the string ’mf’
a valid integer index of a membership function
a string; one of ’name’, ’type’, or ’params’
a string (if mf_property is ’name’ or ’type’); an array (if mf_property is ’params’)
Note that all of the strings representing properties above are case insensitive.
See also: newfis, getfis, showfis.
Package: fuzzy-logic-toolkit