How to fix Undefined function or variable 'anfisOptions'.

 Risposta accettata

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 Commenti

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.

Accedi per commentare.

Più risposte (2)

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

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by