Error while coding in matlab for fuzzy

2 views (last 30 days)
Anagha Bhattacharya
Anagha Bhattacharya on 22 May 2016
Answered: Rose Mahmudi on 5 May 2019
I am facing the following error while evaluationg matlab code using "evalfis'. Please help me.
Given FIS is unknown.
Error using evalfismex
Exiting ...
Error in evalfis (line 84)
[output,IRR,ORR,ARR] = evalfismex(input, fis, numofpoints);
Error in samplefuzzy (line 81)
fuzzyoutput=evalfis(playerdata,playerse1);

Answers (2)

Walter Roberson
Walter Roberson on 23 May 2016
Your playerse1 is not a FIS structure.

Rose Mahmudi
Rose Mahmudi on 5 May 2019
hello guys. I need help with this error too:
Given FIS fiss is unknown.
Error using evalfismex
Exiting ...
Error in evalfis (line 83)
[output,IRR,ORR,ARR] = evalfismex(input, fis, numofpoints);
Error in fuzzm (line 98)
SS = evalfis([output],fis);
I creat my fiss with this code without using fuzzy interfence
fisname='fuzzychaos';
fistype='Sugeno';
andmethod='min';
ormethod='max';
impmethod='prod';
aggmethod='probor';
defuzzmethod='wtaver';
fis= newfis('fuzzychaos','Sugeno','min','max','prod','probor','wtaver');
%......................input...........................................
fis=addvar(fis,'input','A1',[0 255]);
fis=addmf(fis,'input',1,'L','trimf',[0 95 105]);
fis=addmf(fis,'input',1,'C','trimf',[105 125 155]);
fis=addmf(fis,'input',1,'R','trimf',[160 195 255]);
fis=addvar(fis,'input','A2',[0 255]);...................
I created rest of the code with (addrule and writefis,and read fis for reading what I created and I don't know if it works or not but it seems it does'nt)
please help me
thank you very much

Categories

Find more on Fuzzy Inference System Modeling in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!