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

19 vues (au cours des 30 derniers jours)
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.

Réponses (8)

Kaustubha Govind
Kaustubha Govind le 17 Juin 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 le 18 Juin 2014
Modifié(e) : Walter Roberson le 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 le 18 Juin 2014
Modifié(e) : Walter Roberson le 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 le 18 Juin 2014

Zhang
Zhang le 18 Juin 2014

hui Evy
hui Evy le 19 Juin 2014
Modifié(e) : Walter Roberson le 25 Jan 2016
can not understanding how do you do it?
generation the project succeeful at the end ?how ?

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

Connectez-vous pour commenter.


John Gau
John Gau le 25 Jan 2016
thks....

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by