How can I fix the idelink_er​t_make_rtw​_hook error during PIL simulation?

1 view (last 30 days)
Hello everyone,
I'm trying to build code for a PIL-Simulation in Simulink. I'm using the CCS 5.1 and the TI-Evaluationboard ezdsp TMS320 F28335. If I start to build the model I get a "Model Error":
The call to idelink_ert_make_rtw_hook, during the exit hook generated the following error: Error while building the project.
The build process will terminate as a result.
Caused by: Error while building the project. The build failed with the following message: "C:/ti/ccsv5/tools/compiler/C2000/bin/cl2000" -I"D:/MATLAB/SupportPackages/R2013b/tic2000/inc" -I"D:/Users/epm_User/Documents/MATLAB/Extended_Kalman_Filter_neu_ticcs" -I"D:/Users/epm_User/Documents/MATLAB" -I"C:/Program Files/MATLAB/R2013b/extern/include" -I"C:/Program Files/MATLAB/R2013b/simulink/include" -I"C:/Program Files/MATLAB/R2013b/rtw/c/src" -I"C:/Program Files/MATLAB/R2013b/rtw/c/src/ext_mode/common" -I"C:/Program Files/MATLAB/R2013b/rtw/c/ert" -I"C:/Program Files/MATLAB/R2013b/toolbox/dsp/include" -I"C:/Program Files/MATLAB/R2013b/toolbox/dsp/extern/src/export/include/src" -I"C:/Program Files/MATLAB/R2013b/toolbox/dsp/extern/src/export/include" -I"C:/Program Files/MATLAB/R2013b/toolbox/shared/dsp/vision/matlab/include" -D"__TICCSC__" -D"RT" -D"USE_RTMODEL" -ml -v28 --float_support=fpu32 -D"MODEL=Extended_Kalman_Filter_neu" -D"NUMST=1" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ONESTEPFCN=1" -D"TERMFCN=1" -D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"CLASSIC_INTERFACE=0" -D"TID01EQ=0" -I"C:/ti/ccsv5/tools/compiler/C2000/include" -fr"./derived/" ./DSP2833x_ADC_cal.asm ./DSP2833x_CodeStartBranch.asm ./DSP2833x_CpuTimers.c ./DSP2833x_DMA.c ./DSP2833x_DefaultIsr.c ./DSP2833x_GlobalVariableDefs.c ./DSP2833x_MemCopy.c ./DSP2833x_PieCtrl.c ./DSP2833x_PieVect.c ./DSP2833x_SysCtrl.c ./DSP2833x_usDelay.asm ./Extended_Kalman_Filter_neu.c ./Extended_Kalman_Filter_neu_data.c ./Extended_Kalman_Filter_neu_main.c ./MW_c28xx_board.c ./MW_c28xx_csl.c [DSP2833x_ADC_cal.asm] [DSP2833x_CodeStartBranch.asm] [DSP2833x_CpuTimers.c] [DSP2833x_DMA.c] [DSP2833x_DefaultIsr.c] [DSP2833x_GlobalVariableDefs.c] [DSP2833x_MemCopy.c] [DSP2833x_PieCtrl.c] [DSP2833x_PieVect.c] [DSP2833x_SysCtrl.c] [DSP2833x_usDelay.asm] [Extended_Kalman_Filter_neu.c] [Extended_Kalman_Filter_neu_data.c] [Extended_Kalman_Filter_neu_main.c] "./Extended_Kalman_Filter_neu_main.c", line 29: fatal error: could not open source file "pil_interface_lib.h" 1 fatal error detected in the compilation of "./Extended_Kalman_Filter_neu_main.c". Compilation terminated.
>> Compilation failure gmake: * [derived/DSP2833x_ADC_cal.obj] Error 1
First I used checkEnvSetup, but my versions are all up to date. It seems to be similar to a fixed bug from Matlab 2007a. http://www.mathworks.com/support/bugreports/362908
Is there a patch for this problem or do you guys have any other solutions?
Regards, Bene

Answers (0)

Community Treasure Hunt

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

Start Hunting!