Error when compiling the C code generated from FUZZY logic controller

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.

回答(0 个)

此问题已关闭。

提问:

2014-11-4

关闭:

2025-4-13

Community Treasure Hunt

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

Start Hunting!

Translated by