Error when compiling the C code generated from FUZZY logic controller

1 view (last 30 days)
Hi I am trying to generate the C code from my fuzzy controller. after finishing, when I want to run it in visuall studio I get 5 errors,, 2 of them rtw_continuous.h and rtw_solver.h found in the folder that MATLAB is installed, and I copied and pasted in the current folder, but I still get these errors: "can not open source file rtw_solver.h, rtw_continuous." "MAJOR_TIME_STEP is undefined" "RTWSolveInfo is undefined" " SimTimeStep is undefined." Does any one have any Idea? I relly must generate and run the code for a project.

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!