Reading .wav audio file for Code Generation

2 views (last 30 days)
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

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 27 Feb 2013
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 Comment
Amey Kulkarni
Amey Kulkarni on 1 Mar 2013
Dear Madam,
Thanks a lot for the hint, I shall try with it.
Amey

Sign in to comment.

More Answers (0)

Categories

Find more on Code Generation and Deployment in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!