Why do I receive a division by zero warning when using the Fuzzy Logic Controller block in Fuzzy Logic Toolbox 2.2.8 (R2008b)?

조회 수: 4 (최근 30일)
I have a simple model with a Fuzzy Logic Controller block. I unchecked the option "Conditional input branch execution" in Configuration Parameters and one of my inputs lies outside of the membership definitions. The de-fuzzification block inside the fuzzy logic controller will give the following warning:
Warning: Division by zero in 'div_by_zero/Fuzzy Logic Controller/FIS Wizard/Defuzzification1/Averaging(COA)'.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2010년 1월 8일
This enhancement has been incorporated in Release 2009b (R2009b). For previous product releases, read below for any possible workarounds:
The warning is displayed because there is an input of zero for the Divide block inside the de-fuzzification subsystem.
To work around this issue activate the option "Conditional input branch execution" in Configuration Parameters.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기

제품


릴리스

R2008b

Community Treasure Hunt

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

Start Hunting!

Translated by