Simulink: HDL Coder support for Biquad filter block
2 views (last 30 days)
Show older comments
Hello,
I am running MATLAB R2011a. I have a question about the Simulink HDL Coder's support for the Biquad Filter from the DSP System Toolbox.
In my current application, I need to take the filter's coefficients as input ports, which is not supported for the Digital Filter block and is clearly described in the Simulink HDL Coder's User Guide in the "Block-Specific Usage, Requirements, and Restrictions for HDL Code Generation" section. However, this is not said for the Biquad Filter block and even though it seems it is not supported either.
The error I get is:
### Starting HDL Check.
### HDL Check Complete with 1 error, 0 warnings and 0 messages.
??? Error using ==> reporterrors at 69
For the block 'plat_eletros_fixdt/PI_plat_fix/Biquad Filter'
HDL Code generation is not supported for coefficients specified via input ports.
Error in ==>
[...]
My question is: Is it really supported or not? Is there a trick to get it working? If not, is it supported in a newer version?
Thanks in advance.
0 Comments
Answers (1)
Tim McBrayer
on 8 Jun 2012
I believe that support for coefficients as input ports on the Biquad Filter block was added in R2012a.
0 Comments
See Also
Categories
Find more on Optimization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!