How to resolve this error "The 'dsp.FilteredXLMSFilter' class does not support code generation"?

1 view (last 30 days)
I would to know how to resolve this particular error " The 'dsp.FilteredXLMSFilter' class does not support codegeneration", I am trying to use dsp toolbox in Raspberry Pi to do ANR process.

Answers (1)

Walter Roberson
Walter Roberson on 9 Feb 2018
You will need to write the functionality yourself.
  5 Comments
Walter Roberson
Walter Roberson on 9 Feb 2018
Right. The way to be able to generate code for this system object is to get hired by Mathworks and implement code generation for it using their internal development system.
Multiplexer
Multiplexer on 6 May 2021
The function dsp.FilterXLMSFilter supports code generation since R2017a as per documentation https://www.mathworks.com/help/releases/R2017a/dsp/ref/dsp.filteredxlmsfilter-class.html
Makes me wonder why the error simply states that "The 'dsp.FilteredXLMSFilter' class does not support codegeneration" when it's obvious from documentation that it does support code generation (in limited capacity but it does). I've checked it in R2021a and the error has exactly same misleading description, still claiming that It's not supported.

Sign in to comment.

Categories

Find more on 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!