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 Center および File ExchangeFuzzy 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