Reading .wav audio file for Code Generation

The Simulink provides block 'From Multimedia File' in DSP Systems Toolbox. I am trying to use this block for code generation for C6713 DSK. But, it is not getting built in CCS environment.
Is this block supported for code generation ? Thanks in advance.
Amey Kulkarni

 Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 27 Fév 2013

0 votes

It doesn't look like that block supports code-generation for embedded targets. It will run it in Rapid Accelerator mode though, since the Block Support Table (run showsignalblockdatatypetable at the MATLAB prompt and look at the "Code Generation Support" column against the row for "From Multimedia File"). The footnote says "Host computer only. Excludes Real-Time Windows (RTWIN) target." - the host computer is the target in Rapid Accelerator mode. These are the only C6713 specific blocks currently available.
However, if you know how to do the same operation using C-code for your target board, you can create a custom driver block.

1 commentaire

Amey Kulkarni
Amey Kulkarni le 1 Mar 2013
Dear Madam,
Thanks a lot for the hint, I shall try with it.
Amey

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Code Generation and Deployment dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by