Converting matlab code into Code Composer Studio project.

6 次查看(过去 30 天)
Hi! I am Barani. I am working on a project with DM6437 EVM board. I have some matlab programs related to image and video processing.
I want to know whether the matlab codes can be directly converted into CCS project.
I have already worked in converting simulink models into CCS project.
But i want to know whether the matlab program can be converted into CCS porject or whether i can only convert it into Embedded C code and i have to use the Generated C code with other C library files to create the project manually?
Regards! Barani Karthick

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2012-2-20
I don't know of a direct way to do what you need, but you can do one of two things:
  1. Bring your MATLAB code into Simulink using the the MATLAB Function block, and then generate a CCS project from the model.
  2. If you have a MATLAB Coder license, generate C code from your MATLAB function, and then manually import that into a CCS project.
In both cases, your MATLAB code should use the language subset suppported for code generation.
  4 个评论
Claude Porlier
Claude Porlier 2014-2-10
It seems that I can not build a project from my simulink model file when I am using CCS v5.5. I am using MATLAB 2013b. Is building a project only available with CCS 3.3 ? Is there an outline about how to manually import a project to CCS because many of the header files are missing when I try to do it.
Thanks for your help.
Kaustubha Govind
Kaustubha Govind 2014-4-15
Claude: Your question is not exactly the same as this one, so in general, please create a new Question instead of writing a comment. I don't know a lot about support for CCS 5, but you may want to refer to this previously answered question: http://www.mathworks.com/matlabcentral/answers/41444-ti-ccsv5-support-for-ide-link

请先登录,再进行评论。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by