Converting matlab code into Code Composer Studio project.
Show older comments
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
Answers (1)
Kaustubha Govind
on 20 Feb 2012
0 votes
I don't know of a direct way to do what you need, but you can do one of two things:
- Bring your MATLAB code into Simulink using the the MATLAB Function block, and then generate a CCS project from the model.
- If you have a MATLAB Coder license, generate C code from your MATLAB function, and then manually import that into a CCS project.
4 Comments
Barani Karthick
on 22 Feb 2012
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
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
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: http://www.mathworks.com/matlabcentral/answers/41444-ti-ccsv5-support-for-ide-link
Categories
Find more on Texas Instruments C2000 Processors in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!