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

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

fadi alami
fadi alami il 11 Apr 2020
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!!

Più risposte (0)

Categorie

Scopri di più su Fuzzy Logic in Simulink in Help Center e File Exchange

Prodotti


Release

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by