Problem while generating C-Code from a fuzzy controller in Simulink
조회 수: 2 (최근 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
Jean-Philippe Gagnon
2017년 1월 24일
Yes it is possible. Gentec made one, lookout their ALP-UDR product.
참고 항목
카테고리
Help Center 및 File Exchange에서 Deployment에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!