How to export a Fuzzy-controller to C-Code

How can i export a Fuzzy controller, made with Fuzzy Logic Toolbox, to C-Code which runs without Matlab on any platform?

 Accepted Answer

Arkadiy Turevskiy
Arkadiy Turevskiy on 25 Mar 2013
Edited: Arkadiy Turevskiy on 25 Mar 2013
Please take as look at this section of the doc.
If you need to generate stand-alone code, you can do it by using Simulink Coder to generate C code from Fuzzy Logic Controller block in Simulink.

More Answers (1)

you can use this tool:
https://la.mathworks.com/matlabcentral/fileexchange/117465-qfiscgen-fuzzy-c-code-generator-for-embedded-systems

1 Comment

Does this support mutiple level FIS
i have FIS1 and FIS2 are combined under FIS3 and i need the c code of all of these, can i use your tool?

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!