Fuzzy Logic Controller block in Simulink always gives zero, and works Ok in Matlab script

조회 수: 1 (최근 30일)
I am facing a problem with Fuzzy Logic Controller block in Simulink. I tested my fuzzy file before and it worked without any problem, but now i am trying to run simulink file again but the Output from Fuzzy Logic Controller is always Zero. My simulink project is so simple, it is a Constant block as an input, fuzzy block and scope for output.
Thank you

채택된 답변

fadi alami
fadi alami 2020년 4월 11일
Hello again. After some attempts i found the error. My mistake was the way i am entering (fis) file. When we enters the name of our fis file we should provide the name of the fis file as follows: 'fuzzy.fis' this is the correct way, i was entring it as ['fuzzy.fis'] between two square brackets and that was my mistake, but Simulink didn't gave any error!!

추가 답변 (0개)

카테고리

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

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by