How to import an already made FIS into a FIS Tree in the Fuzzy Logic Designer?

9 次查看(过去 30 天)
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?

回答(1 个)

Rushikesh
Rushikesh 2024-9-18
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.

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息

标签

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by