我用RTW生成的VxWorks代码,在Tornda下编译,出现错误:提示如下:
dependency generation failed: In file included from D:\Tornado2.2\target\proj\Project5\model1_tornado_rtw\model1.h:21,
from D:\Tornado2.2\target\proj\Project5\model1_tornado_rtw\model1.c:11:
D:\Tornado2.2\target\proj\Project5\model1_tornado_rtw\simstruc.h:281:25: #error Unrecognized use.
D:\Tornado2.2\target\proj\Project5\model1_tornado_rtw\simstruc.h:361:88: #error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
D:\Tornado2.2\target\proj\Project5\model1_tornado_rtw\simstruc.h:484:22: #error Unhandled case
其中三个错误分别如下:
D:\Tornado2.2\target\proj\Project5\model1_tornado_rtw\simstruc.h:281:25: #error Unrecognized use.
D:\Tornado2.2\target\proj\Project5\model1_tornado_rtw\simstruc.h:361:88: #error Must define one of RT, NRT, MATLAB_MEX_FILE, SL_INTERNAL, or FIPXT_SHARED_MODULE
D:\Tornado2.2\target\proj\Project5\model1_tornado_rtw\simstruc.h:484:22: #error Unhandled case
请了解的人告诉我该怎样修改呢,小女先谢过了,十分感谢!!