How to fix Undefined function or variable 'anfisOptions'.

 Akzeptierte Antwort

Star Strider
Star Strider am 7 Jun. 2017
The anfisOptions function was introduced in R2017a.
If you have the R2017a version of the Fuzzy Logic Toolbox, and you cannot access the function, first try running these lines from your Command Window or a script:
restoredefaultpath
rehash toolboxcache
If that fails, Contact Support.

3 Kommentare

Thank you. I was using R2016b. I guess that was the problem.
My pleasure.
Sorry.
I tried this and now I cannot run any functions.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Falah Al-Amery
Falah Al-Amery am 18 Dez. 2018

1 Stimme

why, Undefined function or variable 'fuzzy'.
Yat Sheng Kong
Yat Sheng Kong am 20 Jun. 2017

0 Stimmen

Hi,
fis = anfis(trainingdata,opt);
The opt was also introduced in R2017a? I try to replace the anfisOptions with opt.InitialFIS = 4; opt.EpochNumber = 30; but it doesnt work with
fis = anfis(trainingdata,opt);
Thanks, Kong

Kategorien

Community Treasure Hunt

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

Start Hunting!

Translated by