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 Center および File ExchangeOptimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by