Simulink: HDL Coder support for Biquad filter block

2 visualizaciones (últimos 30 días)
Guilherme
Guilherme el 8 de Jun. de 2012
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.

Respuestas (1)

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

Categorías

Más información sobre Optimization en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by