how to use matlab code on dsp c6713?

3 views (last 30 days)
Kushant
Kushant on 25 Mar 2014
Commented: Kushant on 25 Mar 2014
hello
i have matlab code written for speech separation that works on two pre recorded files.
i have converted functions in C using matlab coder but how to use pre recorded files in DSP, since wavread function cannot be converted in C.
what are the next steps, do i have to create C static library or C executables, when is C main function necessarry and how to write it?
i have also considered other alternative of using simulink for code deployment but same problems: how to use pre recorded files and can i use two microphones(if i am not using prerecorded files) with dsp?
thanks in advance...

Answers (1)

Walter Roberson
Walter Roberson on 25 Mar 2014
Convert the speech files to pure uncompressed binary. The Coder supports fopen() and fread() with restrictions; see http://www.mathworks.com/help/coder/ug/functions-supported-for-code-generation--alphabetical-list.html
  1 Comment
Kushant
Kushant on 25 Mar 2014
Thanks...i will definitely try this...
Can you tell me what is difference between C static library and executables...what is suitable choice for code deployment on c6713...

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!