I want to generate HDL from a System Object that contains several dsp.FIRFilter objects, the number of which is determined by a Nontunable property
Show older comments
I'm trying to develop a generic System Object that utilizes dsp.FIRFilter objects. I want my class to determine and construct the number of dsp.FIRFilter objects required and compute their corresponding coefficient sets from a fixed, NonTunable property value.
My first thought was to allocate a cell array of dsp.FIRFIlter objects in setupImpl(), but this is not supported for HDL generation, as described in the documentation, here. The examples linked there all create properties for each individual object, which doesn't help for this use case, where the number is not known a priori, but is fixed during initiialization.
Is there a recommended way to accomplish what I'm trying to do without cell arrays?
Thanks!
Paul
Accepted Answer
More Answers (0)
Categories
Find more on HDL Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!