MATLAB: Do I get errors when building a model for the TI DSK C6711 Board using the TI Developers Kit 1.2 (R12.1)

codecomposerdeveloperkitlinkrtdxstudio

Why do I get errors when building a model for the TI DSK C6711 Board using the TI Developers Kit 1.2 (R12.1)?
I have a very simple Simulink model that runs fine. When I try building the model to the C6711 Target, however, I get the following error message from Code Composer Studio:
undefined first referenced
symbol in file
--------- ----------------
_turnOn_LED
C\MATLAB6p1\work\Rossana\c6711test_rtdx_c6000_rtw\c6711test
_rtdx_main.obj
_enable_interrupts
C\MATLAB6p1\work\Rossana\c6711test_rtdx_c6000_rtw\c6711test
_rtdx_main.obj
_pendingInterrupt
C\MATLAB6p1\work\Rossana\c6711test_rtdx_c6000_rtw\c6711test
_rtdx_main.obj
>> error symbol referencing errors - c6711test_rtdx.out not built
Build Complete,
1 Errors, 0 Warnings, 0 Remarks.

Best Answer

One reason that you might be getting this error is because you do not have the DAC and ADC C6711 Blocks in your model. You should have these blocks in your model, even if you are not using them, in order to avoid the errors above.