evalfis error from tutorial line 64

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);

 採用された回答

Jesse Stowe
Jesse Stowe 2020 年 12 月 5 日
移動済み: Sam Chak 2024 年 10 月 3 日

0 投票

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 件)

カテゴリ

ヘルプ センター および File ExchangeFuzzy Logic Toolbox についてさらに検索

製品

リリース

R2018a

質問済み:

2019 年 12 月 12 日

移動済み:

2024 年 10 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by