Converting matlab code into Code Composer Studio project.

조회 수: 9 (최근 30일)
Barani Karthick
Barani Karthick 2012년 2월 20일
댓글: Kaustubha Govind 2014년 4월 15일
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