I think the solution for the above question was, the Matlab was not able to recognise the path of DSP2806x_INSTALLDIR. So we need to set up a system variable for the path by right clicking on my computer properties in then in advanced setting on system variable path we have to provide the appropriate header file path . And we should restart the matlab . Then we can build the Simulink model successfully without any errors . Hope it helps.
Simulink to CCS5 for the processor F28069
1 view (last 30 days)
Show older comments
Dear All, I was trying to generate a code from simulink for the processor F28069. When i try to build the model it asks to browse to the Header files of F2806x although i give the right path , i do get the error of The call to idelink_ert_make_rtw_hook, during the exit hook generated the following error:
When i check for >> checkEnvSetup('ccsv5','F28069','check') i get the following result. The required version of 2806x C/C++ Header Files is not found in C:\ti\controlSUITE\device_support\f2806x\v120\F2806x_headers
Following environment variable(s) required for code generation could not be set:
### "DSP2806x_INSTALLDIR"
2806x C/C++ Header Files
Your version : 1.20
Required version: 1.20
Required for : Code generation
DSP2806x_INSTALLDIR="".
But the Header files are present in the mentioned Folder . Please provide the solution if anybody had same Problems.
Regards, Suresh
0 Comments
Answers (2)
Dani Tormo
on 9 May 2014
Edited: Dani Tormo
on 9 May 2014
Hello Suresh,
here you have a tutorial on how to go through that process. Mind it is for the F2802X, just look for the appropriate folders of the F28069.
Cheers! Daniel
0 Comments
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!