Simulink: HDL Coder support for Biquad filter block

조회 수: 2 (최근 30일)
Guilherme
Guilherme 2012년 6월 8일
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