How can I reset the XDC Tools directory with checkEnvSetup()?

5 views (last 30 days)
Hi, everyone. I'm using checkEnvSetup('ccsv5','F28335 eZdsp','setup') to setup Embeded Coder environment for F28335 eZdsp board. But I made mistakes the first time I run checkEnvSetup(), in step 4, the XDC Tools (eXpress DSP Components) version has been set wrong. I run checkEnvSetup() again to correct the mistakes, but the steps 1,2,3,5 can be reset, while the step 4 is skiped, I can't set the correct direction for XDC Tools.
The checkEnvSetup('ccsv5','F28335 eZdsp','list') will get: 4. Checking XDC Tools (eXpress DSP Components) version Required version: 3.16.02.32 or later Required for : Code generation Your Version : NOT FOUND The required version of XDC Tools is not found in $(XDCROOT)
Any one can tell me how can I reset the correct XDC Tools direction?
Thanks.

Accepted Answer

shiming liu
shiming liu on 24 Mar 2016
I solved this problem now: I add an environment variable "XDCROOT" for my windows, it's value is the xdctools directory (C:\ti\xdctools_3_25_00_48), and then the checkEnvSetup('ccsv5','F28335 eZdsp','list') can show the right result.
After used xmakefilesetup() to setup make environment, I tried a very simple simulink model, while I built the model, an error shows: ------------------------------------------------------------------------------------------------- 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.
Error while building the project.
The build failed with the following message: '"make"' is not recognized as an internal or external command, operable program or batch file.   ----------------------------------------------------------------------------------------
Ain't it clear that the 'make' command is the "C:\Program Files\MATLAB\R2015a\bin\win64\gmake" by default in the xmakefilesetup() setting?
Anyone can help me?
thanks

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!