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

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)

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"
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.
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:
can not understanding how do you do it?
generation the project succeeful at the end ?how ?
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

你好,请问如何用生成的文件建一个工程呢,您说的第四和第五幅图没有看到啊, 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 除了文件夹生成的文件,还需要哪些库里的文件呢?麻烦您回复一下。 (方便加个qq不,你是新乡的吗,老乡啊)

意思就是,在CCS中新建一个project,然后把simulink自动产生的代码导入这个project中去,同时还要导入一些matlab自带的c、asm和h文件;之后在CCS中编译、查错、调试、烧录。
都有哪些文件需要导入project中呢,第一次做DSP和Matlab的联合仿真,有点难上手

Sign in to comment.

Products

Asked:

on 17 Jun 2014

Commented:

on 24 Mar 2017

Community Treasure Hunt

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

Start Hunting!