Prev: help,Symbolic math toolbox
Next: Classify Function
From: Martin on 26 Nov 2009 08:37 Hello, when I try to run the rtw_demos for the embedded coder, I got the error message : ### Compiling "rtwdemo_PCG_Eval_P1_sfun.c" cl.exe /c /Zp8 /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /nologo /MD /I "c:\matlab\work\rtw_demos\sfprj\build\rtwdemo_pcg_eval_p1\sfun\src" /I "c:\matlab\work\rtw_demos" /I "c:\program" /I "c:\matlab\work\rtw_demos\files\matlab\r2007b\toolbox\rtw\rtwdemos\embeddedcoderoverview" /I "c:\program files\matlab\r2007b\extern\include" /I "c:\program files\matlab\r2007b\simulink\include" /I "c:\program files\matlab\r2007b\stateflow\c\mex\include" /I "c:\program files\matlab\r2007b\stateflow\c\debugger\include"" ""rtwdemo_PCG_Eval_P1_sfun.c" rtwdemo_PCG_Eval_P1_sfun.c c:\matlab\work\rtw_demos\sfprj\build\rtwdemo_pcg_eval_p1\sfun\src\rtwdemo_PCG_Eval_P1_sfun.h(17) : fatal error C1083: Cannot open include file: 'ThrottleBus.h': No such file or directory NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.exe"' : return code '0x2' Stop. _________________________________________ Obviously the include path is wrong, but I don't know how to fix it. I proved it by correcting the path and running the compile command in the matlab console window. This works fine, but how and where can I change the compiler's include path. The given settings are neither given in simulinks configuration parameter menu nor in the msvc80.opts file. Does anyone know why I get these wrong parameters Thanks Martin
|
Pages: 1 Prev: help,Symbolic math toolbox Next: Classify Function |