Error while coding in matlab for fuzzy

3 次查看(过去 30 天)
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
Your playerse1 is not a FIS structure.

Rose Mahmudi
Rose Mahmudi 2019-5-5
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

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by