Matlab Coder output into CCS (version 3.1)
古いコメントを表示
I have a .m file of matlab for audio application. I used the matlab coder to convert the code into c code so that i can put it into TI DSP dsk6713. The conversion was successful , but i received a lot of .c and .h files. I need help in understanding as to how to implement this code into a ccs project where i have to add these functions . The audio input is done directly. The processing part's code was done in matlab, so i hv to implement these functions into the audio input (which is already obtained in ccs )
回答 (1 件)
Kaustubha Govind
2012 年 3 月 14 日
0 投票
There should have been a .mk file generated with all the code - it should show you the exact compilation commands needed. Simplistically speaking of course, you can simply add all the .c and .h files into your CCS project and simply call the top-level generated function from your main file.
FYI, if you have access to the Embedded Coder product, C6713 is amongst the supported hardware. This will make your work much easier because the product already ships with driver blocks for the board's peripherals. However, this applies only to Simulink models, and there is a learning curve if you're a MATLAB user.
5 件のコメント
Venkat
2012 年 3 月 19 日
Kaustubha Govind
2012 年 3 月 19 日
I'm not sure what could be causing that category of errors. I think CCS 3.0 is the supported version with MATLAB 7.0 (R14) - not sure if the errors are because you're using CCS 3.1. Have you been able to try with a newer version of MATLAB? Also, please start a new question if you have issues specific to CCS support.
Venkat
2012 年 3 月 20 日
Kaustubha Govind
2012 年 3 月 21 日
I believe the releases that support CCS 3.1 are R2006a, R2006b and R2007a. Will it be possible for you to try with one of these?
mohammad naseer M N
2015 年 5 月 4 日
mam, i am unable do matlab 2007a simulink with ccs3.1 for dsk6713 kit,it shows error as "could not connect to ccs,please ensure your ccs installation is set up properly" please replay to Naseer@edgate.in
カテゴリ
ヘルプ センター および File Exchange で Code Generation and Deployment についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!