How can I generate c code from my fuzzy system?

4 views (last 30 days)
Hello, I have designed a Fuzzy Logic Controller, and now I need to generate the c Code for its implementation on a real time system. Does anyone have any idea on how to do it the easiest way possible? I have tried using c code generator, but it says there is no compatibility with fuzzy logic. Furthermore, I have tried using the curve fitting app, but it doesn't let me see the parameters (it has 2 entries and 1 output, so I made a cubic interpolant). Thanks in advance.
  1 Comment
Ángel del Ojo
Ángel del Ojo on 9 Nov 2015
When I try to see the coefficients, all I get is this: >> coeffvalues(fittedmodel)
ans =
GriddataInterpolant with properties:
Type: 'Cubic'

Sign in to comment.

Answers (0)

Categories

Find more on Fuzzy Logic Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!