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

19 ビュー (過去 30 日間)
Zhang
Zhang 2014 年 6 月 17 日
コメント済み: zhao yang 2017 年 3 月 24 日
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.

回答 (8 件)

Kaustubha Govind
Kaustubha Govind 2014 年 6 月 17 日
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 2014 年 6 月 18 日
編集済み: Walter Roberson 2016 年 1 月 25 日
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 2014 年 6 月 18 日
編集済み: Walter Roberson 2016 年 1 月 25 日
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 2014 年 6 月 18 日

Zhang
Zhang 2014 年 6 月 18 日

hui Evy
hui Evy 2014 年 6 月 19 日
編集済み: Walter Roberson 2016 年 1 月 25 日
can not understanding how do you do it?
generation the project succeeful at the end ?how ?

Zhang
Zhang 2014 年 6 月 19 日
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 件のコメント
xinbang tu
xinbang tu 2016 年 7 月 29 日
意思就是,在CCS中新建一个project,然后把simulink自动产生的代码导入这个project中去,同时还要导入一些matlab自带的c、asm和h文件;之后在CCS中编译、查错、调试、烧录。
zhao yang
zhao yang 2017 年 3 月 24 日
都有哪些文件需要导入project中呢,第一次做DSP和Matlab的联合仿真,有点难上手

サインインしてコメントする。


John Gau
John Gau 2016 年 1 月 25 日
thks....

Community Treasure Hunt

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

Start Hunting!

Translated by