How to import 256*3 size input table into fuzzy?
2 views (last 30 days)
Show older comments
Accepted Answer
Sam Chak
on 23 Jul 2023
Hi @Aberna P
From your code, we can analyze something.
fismat = readfis('Fuzzy2'); % fuzzy get loaded
output = evalfis(S1, fismat); % facing error
Before R2018b, to evaluate a fuzzy inference system, fismat, using evalfis(), the first input argument is the input variable values.
Since R2018b, the input argument order has changed to
output = evalfis(fismat, S1);
Since you used the former syntax, you must be using R2018a or earlier version.
Is Fuzzy2.fis a Type-2 fuzzy system? If it is a Type-2 fuzzy system, and the Interval Type-2 FIS structure was introduced in R2019b, naturally the error message will tell you to specify a valid Type-1 FIS structure.
Can you check?
More Answers (0)
See Also
Categories
Find more on Fuzzy Inference System Modeling 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!