![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1774765/image.png)
How to import an already made FIS into a FIS Tree in the Fuzzy Logic Designer?
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Rushikesh
le 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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1774765/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1774765/image.png)
0 commentaires
Voir également
Catégories
En savoir plus sur Fuzzy Logic in Simulink dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!