showfis

(To be removed) Display annotated Fuzzy Inference System

showfis will be removed in a future release. View the properties of your FIS directly instead. For more information, see Compatibility Considerations.

Syntax

showfis(fismat) 

Description

showfis(fismat) prints a version of the MATLAB® workspace variable FIS, fismat, allowing you to see the significance and contents of each field of the structure.

Examples

a = readfis('tipper');
showfis(a)

Returns:

1.  Name             tipper
2.  Type             mamdani
3.  Inputs/Outputs   [2 1]
4.  NumInputMFs      [3 2]
5.  NumOutputMFs     3
6.  NumRules         3
7.  AndMethod        min
8.  OrMethod         max
9.  ImpMethod        min
10. AggMethod        max
11. DefuzzMethod     centroid
12. InLabels         service
13.                  food   
14. OutLabels        tip
15. InRange          [0 10]
16.                  [0 10]
17. OutRange         [0 30]
18. InMFLabels       poor     
19.                  good     
20.                  excellent
21.                  rancid   
22.                  delicious
23. OutMFLabels      cheap   
24.                  average 
25.                  generous
26. InMFTypes        gaussmf
27.                  gaussmf
28.                  gaussmf
29.                  trapmf 
30.                  trapmf 
31. OutMFTypes       trimf
32.                  trimf
33.                  trimf
34. InMFParams       [1.5 0 0 0] 
35.                  [1.5 5 0 0] 
36.                  [1.5 10 0 0]
37.                  [0 0 1 3]   
38.                  [7 9 10 10] 
39. OutMFParams      [0 5 10 0]  
40.                  [10 15 20 0]
41.                  [20 25 30 0]
42. Rule Antecedent  [1 1]
43.                  [2 0]
44.                  [3 2]
42. Rule Consequent  1
43.                  2
44.                  3
42. Rule Weight      1
43.                  1
44.                  1
42. Rule Connection  2
43.                  1
44.                  2

Compatibility Considerations

expand all

Not recommended starting in R2018b

See Also

Introduced before R2006a