Error when trying to run a c2000 simulink model - CCSv6 and Matlab 2015a

2 次查看(过去 30 天)
I'm getting an error (please refer to the image) when I'm trying to compile a simple epwm block. I've used xmakefilesetup to configure ccsv6 and matlab 2015b and have installed Embedded Coder Support Package for Texas Instruments C2000 Processors from the internet. Could anyone help me out on how to solve this issue? It seems that Matlab cannot access the source files.

采纳的回答

Venkatesh Chilapur
Venkatesh Chilapur 2017-12-5
Hi,
xmakefilesetup is for using the idelink.tlc workflow, and using idelink.tlc is not recommended and has been discontinued. You should be using ert.tlc with CCS to help you work with the board as needed.
If you need to reconfigure the support package, use the command targetupdater.
Regards,
Venkatesh C
  1 个评论
Raghu Raman
Raghu Raman 2017-12-6
编辑:Raghu Raman 2017-12-6
Could you please advise on how to use configure the ert.tlc workflow? What command should one use to configure it? I've used 'targetupdater' before to connect matlab to the support package and the toolchain.

请先登录,再进行评论。

更多回答(1 个)

Venkatesh Chilapur
Venkatesh Chilapur 2017-12-6
Hi,
https://www.mathworks.com/help/releases/R2016a/supportpkg/texasinstrumentsc2000/ug/coder-target-pane-texas-instruments-c2000-processors.html
https://www.mathworks.com/matlabcentral/answers/124142-what-is-the-difference-between-ert-tlc-model-and-idelink_ert-tlc-model#answer_177303?s_tid=prof_contriblnk
These links can be helpful.
Regards,
Venkatesh C
  1 个评论
Raghu Raman
Raghu Raman 2017-12-6
Thank you. Following the instructions for setup and run the epwm block stills show an error. Please see the attachment. It would really be helpful if there is a tutorial or a sequence of instructions for the setup. Would really appreciate if you can help.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by