Simulink: HDL Coder support for Biquad filter block

1 次查看(过去 30 天)
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.

回答(1 个)

Tim McBrayer
Tim McBrayer 2012-6-8
I believe that support for coefficients as input ports on the Biquad Filter block was added in R2012a.

类别

Help CenterFile Exchange 中查找有关 Optimization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by