How to import an already made FIS into a FIS Tree in the Fuzzy Logic Designer?
9 views (last 30 days)
Show older comments
I have already created 2 fuzzy logic systems (slightly complex) and I want to combine them in a fuzzy logic tree. I may have missed it in the documentation but is this possible?
If it isn't would it be better to redo all the FISs in the designer (starting with the tree model) or would it be better to do it in simulink?
0 Comments
Answers (1)
Rushikesh
on 18 Sep 2024
I understand that you would like to import existing fuzzy logic systems into a fuzzy tree using the Fuzzy Logic Designer. I encountered a similar issue when I couldn't find a direct method to import an existing FIS into a tree within the Fuzzy Logic Designer. However, I discovered a workaround by manually creating a fuzzy tree object and passing the existing FIS to it in MATLAB using the 'fistree' function. You can then open that tree in the Fuzzy Logic Designer.
Here’s how you can do it:
1. Use the 'readfis' function to manually import the FIS into the MATLAB workspace. Ensure that the variable name matches the FIS file name to avoid errors.
2. Create a custom connection object for the multiple FIS and pass the imported FIS objects along with connection object to the 'fistree' function to create a fuzzy tree object.
3. Pass this fuzzy tree object to ‘fuzzyLogicDesigner’ function to open tree in Fuzzy Logic Designer
Let me know if this helps.
0 Comments
See Also
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!