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)
Show older comments
Instead of receiving a segmentation violation, I would like to see a more intuitive error generated.
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Fuzzy Logic in Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!