How can I solve this error?

I'm trying to simulate a mppt for PV system using fuzzy logic controller, but I get this error:
Error evaluating parameter 'fismatrix' in 'PVFuzyy/Fuzzy Logic Controller with Ruleviewer' Caused by: Undefined function or variable 'MyFis'.
the fis file is defined correctly and can be analysed in fuzzy inference system. Fis file and the simulink file are in the same folder and I did everything that came to my mind but still couldn't solve the error. Please help on this matter. Thank you very much in advance.

5 Comments

I have same problem !!
i got the same issue too. anyone can help?
I have same problem.
I got confused with this.... its simple....
  1. remove the Fuzzylogictoolbox symbol you have added to the simulink model.
  2. Add a new one from simulink library browser
  3. double click on the fuzzy tool box symbol so that a pop up will come asking the fis file name..
  4. just select the fis file..
  5. problem solved..
dontb forget to export fis file to workspace before that....

Sign in to comment.

Answers (1)

Wajahat Ali
Wajahat Ali on 3 Jan 2021
is this problem solved yet??? same issue

1 Comment

ckeck the comment given...if its not solved post it again...

Sign in to comment.

Categories

Asked:

on 12 Apr 2017

Commented:

on 12 Nov 2021

Community Treasure Hunt

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

Start Hunting!