Problem validation Plugin: To use variable dimensions in code generation, the WeightsOutput property must be set to 'None'.

I have a question.
I want to use the lms filter to compute output, error and weigths coefficient.
Why when I use the dsp.LMSFilter i cannot use the port WeightsOutput? In matlab its work, but when i try to validate the audioPlugin, there are some problem.
The error is : To use variable dimensions in code generation, the WeightsOutput property must be set to 'None'.
obj.lms1 = dsp.LMSFilter(300,'Method','LMS','StepSize',0.01,'LeakageFactor',0.99,'WeightsOutput','Last');
I think that is related to this. But without it I have errore related to the dimension.
coder.varsize('inputL','desired','filterOut','error',2^14);
Thanks you and sorry for my english

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAudio Plugin Creation and Hosting についてさらに検索

質問済み:

2018 年 2 月 22 日

コメント済み:

2019 年 8 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by