I want to adapt Fuzzy Logic Toolbox to be able to use the output of one system as the input of another

10 views (last 30 days)
Currently I can build a Fuzzy Inference System where, for example, I can put 2 inputs and get 1 output.
On the other hand, I could have another Fuzzy Inference System with 3 inputs and 2 outputs.
I would like to be able to take those 3 outputs, use them as input for a new Fuzzy Inference System (with other new rules) and obtain a new output corresponding to those 3 new entries.
I honestly do not know how to do something like that, could you help me or guide me please?
Thank you so much.

Answers (2)

Anh Tran
Anh Tran on 5 Feb 2018
The current version of Fuzzy Logic Toolbox does not support internal looping of input and output variables. The simplest solution is to create multiple fuzzy inference systems (FISs) in a cascaded form in Simulink or MATLAB. Then you just have to feed outputs from the first layer of FIS as inputs to the next layer.
Alternatively, you can also create a feedback loop from FIS (feed outputs as inputs to FIS). This, however, will produce unit cycle delay in specific output values.

Chad MacDonald
Chad MacDonald on 22 Mar 2022
As of R2019a, Fuzzy Logic Toolbox software natively supports networked trees of fuzzy inference systems. For more information, see:


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!