Fuzzy Logic Toolbox | ![]() ![]() |
Syntax
getfis(a) getfis(a,'fisprop') getfis(a, 'vartype', varindex) getfis(a,'vartype',varindex,'varprop') getfis(a,'vartype',varindex,'mf',mfindex) getfis(a,'vartype',varindex,'mf',mfindex,'mfprop')
Description
This is the fundamental access function for the FIS structure. With this one function you can learn about every part of the fuzzy inference system.
The arguments for getfis are as follows:
'fisprop'
: a string indicating the field you want to access, for example, 'Name'
or 'NumInputs'
.
input
or output
).
You can also access fuzzy system properties directly using MATLAB's syntax for structures (including dot notation). See the examples that follow.
Examples
One input argument (output
is the empty set)
a = readfis('tipper'); getfis(a) Name = tipper Type = mamdani NumInputs = 2 InLabels = service food NumOutputs = 1 OutLabels = tip NumRules = 3 AndMethod = min OrMethod = max ImpMethod = min AggMethod = max DefuzzMethod = centroid
Three input arguments (output
is the empty set)
See Also
![]() | gensurf | mam2sug | ![]() |