Error while coding in matlab for fuzzy

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);

답변 (2개)

Walter Roberson
Walter Roberson 2016년 5월 23일

0 개 추천

Your playerse1 is not a FIS structure.

댓글 수: 2

I had created that fis structure with that name
How did you create it?

댓글을 달려면 로그인하십시오.

Rose Mahmudi
Rose Mahmudi 2019년 5월 5일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기

태그

질문:

2016년 5월 22일

답변:

2019년 5월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by