Error "Undefined function 'genfis1' for input arguments of type 'double'.
显示 更早的评论
I try to run a code but i get this error "Undefined function 'genfis1' for input arguments of type 'double'. Error in oilForcasting (line 87) fismat=genfis1(train_data, mf_no, mf_type) %create of initial fis " What is wrong???? Is there anyone that i can send the code and the data to make is run?
Thank you all in advance.
1 个评论
Geoff Hayes
2018-6-5
Manolis - do you have the Fuzzy Logic Toolbox? In the command window, type
which genfis1
to see if MATLAB can find the function. If it can, then which version of MATLAB are you using?
回答(2 个)
Walter Roberson
2018-6-5
0 个投票
Note: genfis1 will probably be removed in R2018b.
MANOLIS CHERETAKIS
2018-6-5
0 个投票
1 个评论
Walter Roberson
2018-6-5
genfis1 was part of the Fuzzy Logic toolbox from some time before R2006a, so if you have the Fuzzy Logic Toolbox installed you should have the function. Perhaps you do not have that toolbox installed. Command
ver('fuzzy')
If you have the toolbox installed then it should list the toolbox.
类别
在 帮助中心 和 File Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!