(To be removed) Set fuzzy system properties
setfis will be removed in a future release. Set fuzzy inference
system properties using dot notation instead. For more information, see Compatibility Considerations.
fis = setfis(fis,fisPropName,fisPropVal) fis = setfis(fis,varType,varIndex,varPropName,varPropVal) fis = setfis(fis,varType,varIndex,'mf',mfIndex,mfPropName,mfPropVal)
The command setfis can be called with three, five, or seven input
arguments, depending on whether you want to set a property of the entire FIS structure,
for a particular variable belonging to that FIS structure, or for a particular
membership function belonging to one of those variables. The arguments are:
fis — FIS structure in the MATLAB® workspace.
varType — Variable type, specified as either
'input' or 'output'.
varIndex — Variable index, specified as a positive
integer.
mfIndex — Membership function index, specified as a
positive integer.
fisPropName — FIS property you want to set, specified as
one of the following:
'name'
'type'
'andmethod'
'ormethod'
'impmethod'
'aggmethod'
'defuzzmethod'
fisPropVal — New value of the FIS property you want to set,
specified as a character vector or string.
varPropName — Variable property you want to set, specified
as either 'name' or 'range'.
varPropVal — New value of the variable property you want to
set, specified as a character vector or string (for 'name'),
or a two-element row vector (for 'range').
mfPropName — Membership function property you want to set,
specified as either 'name', 'type', or
'params'.
mfPropVal — New value of the membership function property
you want to set, specified as a character vector or string (for
'name' or 'type'), or a numerical row
vector (for 'params').