I attempted to run the example code from the "anfis from the Command Line" tutorial that I access by typing the following at the command prompt:
web([docroot,'/toolbox/fuzzy/fp25193.html'])
The example runs fine until the following EVALFIS command:
anfis_output = evalfis([trnData; chkData], fismat2);
and I receive the following error:
??? Error using ==> evalfis The first argument should have as many columns as input variables and as many rows as independent sets of input values.
Best Answer