Using Simulink Simulink Help Desk

Help for RuleBaseGenerator

FlouLib

This block generates a Sugeno rulebase, according to the principle of modal equivalences, from the input partitions of an equation.

This principle generates a rulebase which is strictly equivalent to the equation on the modal values of the input partition membership functions.

Parameters

·         Output files: file name which contain the rulebase (Example: R.txt).

·         Equation: Equation used to generate the rulebase file. We use the same code as for the Simulink functions, i.e. the variable u.

Example : 0.1*u(1) + 10*u(2) - In this equation, u(1) corresponds to the read values in the first partition (X.txt according to the example). In the same way u(2) corresponds to the values of the second partition.