I am using multiple instances of the Fuzzy Logic Controller with Ruleviewer block in my model. In addition, each of these has a different input vector size. When I simulate the model, I receive the following error:
Error in block 'rehabilitacio_herelt/Fuzzy Logic Controller with Ruleviewer/Animation1' while executing MATLAB file S-function block 'animrule', flag = 2 (update), at time 0. MATLAB error message: Error using ==> evalfis The first argument should have as many columns as input variables and as many rows as independent sets of input values ??? Error using ==> evalfis The first argument should have as many columns as input variables and as many rows as independent sets of input values. Error in ==> D:\MATLAB6p5p1\toolbox\fuzzy\fuzzy\ruleview.m On line 1110 ==> [v,IRR,ORR,ARR]=evalfis(inputVector,fis, numPts); Error in ==> D:\MATLAB6p5p1\toolbox\fuzzy\fuzdemos\animrule.m On line 29 ==> ruleview('#simulink', u, figN);
Best Answer