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!!
Fuzzy Logic Controller block in Simulink always gives zero, and works Ok in Matlab script
1 view (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
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!