Display fuzzy inference system
plotfis( displays a high-level diagram of
a fuzzy inference system (FIS). The center of the display shows the name, type, and rule
count for the FIS. The input variables with associated membership functions are displayed to
the right, and the outputs with their associated membership functions are displayed on the
Create a fuzzy inference system (FIS). For this example, read the FIS from the
fis = readfis('tipper');
Display the fuzzy system.
The figure shows the FIS name and type, along with the number of rules. Also, for each input and output variable, the name and membership function configuration are shown.
fistree object from a pair of fuzzy inference systems.
fis1 = mamfis('Name','fis1','NumInputs',2,'NumOutputs',1); fis2 = sugfis('Name','fis2','NumInputs',2,'NumOutputs',1); con1 = ["fis1/output1" "fis2/input1"]; con2 = ["fis1/input1" "fis1/input2"]; tree = fistree([fis1 fis2],[con1; con2]);
Display the tree of fuzzy inference systems.
FIS Names: fis1 fis2 Connections: From To ------------ ----------- fis1/output1 fis2/input1 fis1/input1 fis1/input2 Inputs: fis1/input1 fis2/input2 Outputs: fis2/output1
fistree object, this function shows a description of the system in the Command Window instead of a figure.
fis— Fuzzy inference system
Fuzzy inference system, specified as one of the following:
Warns starting in R2019b
Support for representing fuzzy inference systems as structures will be removed in a future
instead. There are differences between these representations that require updates to your
code. These differences include:
Object property names that differ from the corresponding structure fields.
Objects store text data as strings rather than as character vectors.
Also, all Fuzzy Logic Toolbox™ functions that accepted or returned fuzzy inference systems as structures now
accept and return either
To convert existing fuzzy inference system structures to objects, use the