MATLAB: Do I receive an error when I use more than one Fuzzy Logic Controller with Ruleviewer in the model using the Fuzzy Logic Toolbox 2.1.2 (R13)

blockscontrollerdimensiondimensionsfuzzyFuzzy Logic Toolboxinputinstanceslogicmatrixmodelmultipleruleviewersize;vectorwith

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

This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This is a bug in the Fuzzy Logic Toolbox 2.1.2 (R13) in the way that the Ruleviewer handles multiple instances with differing input dimensions.
To work around this issue, you will need to use only one Ruleviewer at a time.