How to import an already made FIS into a FIS Tree in the Fuzzy Logic Designer?
조회 수: 10 (최근 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?
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!