Why do I receive different results from the same FIS, when using the Fuzzy Logic Toolbox and comparing then to my Simulink results?

4 views (last 30 days)
I am implementing the same fuzzy inference system in 2 ways.
1. Using the FIS editor from the Fuzzy Logic Toolbox
2. Using the Fuzzy Logic Controller block in Simulink (and constants as inputs)
If I provide an input vector of [p-term d-term] = [1 0] while in the fuzzy logic Toolbox (In Rule Viewer: fuzzycontrol, to be precise), I get an answer of 0.895. If I provide the same input vector to the Simulink model, I get the same answer (0.895)
If I use [1 .01] as the input vector, I get the same answer as above (0.895) in the Fuzzy Logic Toolbox ( Rule Viewer:fuzzycontrol ), but in the Simulink model, I get an answer of 0.00 (Incorrect).
Is this a bug?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in the Fuzzy Logic Toolbox version 2.1.2 (R13) and Simulink 5.0 (R13).
If you are using a previous version, there are no work arounds.

More Answers (0)

Categories

Find more on Fuzzy Logic in Simulink in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!