MATLAB Answers

Converting matlab code into Code Composer Studio project.

41 views (last 30 days)
Barani Karthick
Barani Karthick on 20 Feb 2012
Commented: Kaustubha Govind on 15 Apr 2014
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


Sign in to comment.

Answers (1)

Kaustubha Govind
Kaustubha Govind on 20 Feb 2012
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.


Show 1 older comment
Kaustubha Govind
Kaustubha Govind on 22 Feb 2012
Barani: I think you need to manually configure the coder configuration settings for hardware implementation parameters to generate target-specific code. MATLAB Coder was introduced in R2011b.
Claude Porlier
Claude Porlier on 10 Feb 2014
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 on 15 Apr 2014
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:

Sign in to comment.