evalfis error from tutorial line 64
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Yat Sheng Kong
le 12 Déc 2019
Déplacé(e) : Sam Chak
le 3 Oct 2024
Hi all,
I have a problem when I tried to use my ANFIS. Then, I tried up with tutorial and same error occurred as follows. Do anyone has any idea regarding this? Thanks.
>> fis = readfis('tipper');
>> output = evalfis(fis,[2 1])
Dot indexing is not supported for variables of this type.
Error in evalfis (line 64)
Nin = length(fis.input);
0 commentaires
Réponse acceptée
Jesse Stowe
le 5 Déc 2020
Déplacé(e) : Sam Chak
le 3 Oct 2024
It looks as if the evalfis function definition has changed recently. For me in R2018a, the inputs must be specified first:
>> output = evalfis([2 1], fis)
You can check this by running help:
>> help evalfis
evalfis Perform fuzzy inference calculations.
OUTPUTS = evalfis(INPUTS,FIS)...
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Fuzzy Logic Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!