Error while coding in matlab for fuzzy

3 ビュー (過去 30 日間)
Anagha Bhattacharya
Anagha Bhattacharya 2016 年 5 月 22 日
回答済み: Rose Mahmudi 2019 年 5 月 5 日
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.
  2 件のコメント
Anagha Bhattacharya
Anagha Bhattacharya 2016 年 5 月 24 日
I had created that fis structure with that name
Walter Roberson
Walter Roberson 2016 年 5 月 24 日
How did you create it?

サインインしてコメントする。


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 Center および File ExchangeFuzzy Logic Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by