how to use matlab code on dsp c6713?

6 visualizzazioni (ultimi 30 giorni)
Kushant
Kushant il 25 Mar 2014
Commentato: Kushant il 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...

Risposte (1)

Walter Roberson
Walter Roberson il 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 Commento
Kushant
Kushant il 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...

Accedi per commentare.

Categorie

Scopri di più su MATLAB Coder in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by