How can I generate a ccs project base on the **.out file which comes from matlab2013a/simulink and ccs4 ?

17 views (last 30 days)
Zhang
Zhang on 17 Jun 2014
Commented: zhao yang on 24 Mar 2017
I have successfully use matlab2013a/simulnk generate a ccs4 (F28335) .out file,and the .out file can successfully download to the dsp board.
But I want to creat a project about CCS base on the .outfile, so that I could add some code that I wanted.
I couldn’t find the references about this....
Thanks.

Answers (8)

Kaustubha Govind
Kaustubha Govind on 17 Jun 2014
Project generation with Simulink is not supported for CCSv4/5, this is only possible with older versions of CCS. You need to use the XMakefile workflow for CCSv4/5. See the note on the documentation page Using Makefiles with Code Composer Studio 4/5:
"Note: The Embedded Coder® IDE Project Generator feature is not available for CCSv4/5 in the current release. For more information about IDE Project Generator, see IDE Projects"

Zhang
Zhang on 18 Jun 2014
Edited: Walter Roberson on 25 Jan 2016
Thanks for your help , I'll see the note after a while.
The simulink model could be translated the dsp's C code is helpful for the programmer.
If the programmer could modify or add some other code in the Project, it will be more powerful.
U means that I can generate a project with the help of "xmakefile" & "IDE project" in CCS4/5 ? or not
Looking forward to your reply.

Zhang
Zhang on 18 Jun 2014
Edited: Walter Roberson on 25 Jan 2016
Hello,I have successfully import the files( .c and .h generated by simulink/ccs4/5 ) into a project (build a new project by yourself ),at the same time ,we need copy some other .c and .h files that in the matlab toolbox,
Last the new project generated .out file ,and can download to the DSP.
This is some pictures during building the project:

Zhang
Zhang on 18 Jun 2014

Zhang
Zhang on 18 Jun 2014

hui Evy
hui Evy on 19 Jun 2014
Edited: Walter Roberson on 25 Jan 2016
can not understanding how do you do it?
generation the project succeeful at the end ?how ?

Zhang
Zhang on 19 Jun 2014
In the document folder(generated by simulink and CCS),exist some .c .h and .asm, just like the picture of the third answer. U need build a new ccs project , then take the .c .asm into the SRC, take the .h into the INCLUDE, at the same time ,U need take the necessary .c and .h that exist in the matlab files just like the piceure of the 4th and 5th answer into the SRC and INCLUDE . the SRC and INCLUDE are built by yourself in the CCS project,then what U need do is just detection of error when compile the project。 懂了么?
  3 Comments
zhao yang
zhao yang on 24 Mar 2017
都有哪些文件需要导入project中呢,第一次做DSP和Matlab的联合仿真,有点难上手

Sign in to comment.


John Gau
John Gau on 25 Jan 2016
thks....

Community Treasure Hunt

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

Start Hunting!