This block generates several
files, starting from a FIS file, which can be exploited with the Floulib
blocks.
Parameters
- Input File: FIS file name (Example : Test.fis).
The
generated files have names using the definitions of the FIS project. Thus, if
test.fis is the name of the FIS file and the input variables have as names X1
and X2, the output variable is U1, the generated files are respectively:
- test_X1.txt
- test_X2.txt
- test_U1.txt
- test_Rules.txt
This last
file contains the rule base.
If two output variables are
used, which is equivalent to use two set of rules, one generates two file names
of rules:
- test_Rules_1.txt
- test_Rules_2.txt
The operators are updated
in the corresponding boxes.
This block has however some
restrictions:
- The operator Not in the rules cannot be
translated. Indeed, if in the case of a precise input, knowing A it is
easy to obtain the degree of activation of Not A, it is not any more the
case when fuzzy inputs are used. One can solve this difficulty by defining
the membership function B = Not A.
- The OR operators in the rules cannot be
translated. In the same way, one can solve the problem easily by writing
two rules.
- Only the constant membership functions
trimf, trapmf can be translated.
- In the Sugeno controllers, the replacement
of the And operator is not taken into account. One limits the definition
to the one of the Sugeno controllers with the product operator.
- In the Sugeno controllers, the weights are
not taken into account. One limits the definition to the one of usual Sugeno controllers.
- In the Sugeno controllers, the
conclusions are only constant values.