Why does MATLAB crash when the weight of a rule for the EVALIFIS function from the Fuzzy Logic Toolbox is empty?

1 view (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This enhancement has been incorporated in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 6.5 (R13) in the way that MATLAB crashes when the weight of a rule for the EVALIFIS function from the Fuzzy Logic Toolbox is empty.
As a workaround, to prevent such segmentation violation, try applying SHOWFIS function to a FIS structure first. If no error occurs, use the EVALFIS function to perform fuzzy inference calculations.

More Answers (0)

Categories

Find more on Fuzzy Logic in Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!