How to export rules from Fuzzy GUI to text file in English readable format
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
Arkadiy Turevskiy
2012-10-19
1. File -> export -> workspace -> myfis
2. >>showrule(myfis)
3. copy paste the text
For more details:
>>doc showrule
Arkadiy
0 个评论
Reza Ahmadzadeh
2012-10-15
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 !!!
另请参阅
类别
在 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!