Problem while generating C-Code from a fuzzy controller in Simulink
8 次查看(过去 30 天)
显示 更早的评论
I tried to generate C-Code with Simulink Coder from a fuzzy controller but it doesn´t accept my FIS file with the parameters. The fuzzy model is named "FuzzyeinfKK.fis". The FIS file of course is in the same carpet like the Simulink model "FuzzyeinfKKsimu". I changed in Code generation options the solver to Type "Fixed-step" and solver to "discrete" like in the examples. Any idea what the problem could be?
The error is:
Error evaluating parameter 'fis' in 'FuzzyeinfKKsimu/Fuzzy Logic Controller'
Caused by: Undefined function or variable 'FuzzyeinfKK'.
0 个评论
采纳的回答
更多回答(1 个)
Hubert
2014-4-10
I just want to ask, it is possible to generate C-code from simulink fuzzylogic tollbox and then use it in PLC controler?
1 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!