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);
0 个评论
回答(2 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!