Error when compiling the C code generated from FUZZY logic controller

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by