How to export rules from Fuzzy GUI to text file in English readable format

Hi
I am working with Fuzzy GUI in MATLAB 7.11.0 R2010b. Is there a way to export the rule list as exactly indicated in the Rule Ediditor in Matlab - as I need to apply those rules to my program algorithm. It is too stressful to type out hundreds rules...
Thanks in advance.

답변 (2개)

Arkadiy Turevskiy
Arkadiy Turevskiy 2012년 10월 19일

3 개 추천

1. File -> export -> workspace -> myfis
2. >>showrule(myfis)
3. copy paste the text
For more details:
>>doc showrule
Arkadiy
Reza Ahmadzadeh
Reza Ahmadzadeh 2012년 10월 15일

0 개 추천

1- file > export > workspace (myfis.fis)
2- myfis.rule.antecedent
3- myfis.rule.consequent
3- myfis.rule.weight
4- ....
you can have all you want !!!

댓글 수: 1

Hi,
I can do 1- file > export > workspace (myfis.fis)
but, this doesn't do anything. How can I do 2 and 3? I don't see that option
Thanks

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기

질문:

2012년 8월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by