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