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에서 STMicroelectronics Discovery Boards에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!