Alignsignals not supported for C code generation

4 views (last 30 days)
Hello everybody,
I am trying to align signals with Matlab function that is supported for C generation according to its website. But, when I open the Coder says that is not supported. Does anyone know how to fix this problem? If I have to make my own function, can anyone tell me where i can fin a good implementation?
Thanks in advance,
Javi
  2 Comments
Javier Naranjo
Javier Naranjo on 18 Aug 2017
I am usigna 2016b. That is why I am worried because I thought it was new enough for that support.
Thanks for answering.

Sign in to comment.

Accepted Answer

Steven Lord
Steven Lord on 18 Aug 2017
The "Extended Capabilities" section of the documentation page for alignsignals (which describes the functionality available in the most recent release, currently release R2017a) indicates that it is supported for code generation using MATLAB Coder.
Looking in the Release Notes for Signal Processing Toolbox I see that support for C and C++ code generation from the alignsignals function was introduced in release R2017a. So no, this support is not available in the release R2016b version of the toolbox.
In response to a part of Adam's comment: it is true that not all function pages contain information about when a function was introduced. I don't work in our documentation group so I don't know if there is a plan to revise all the older functions' pages to include that information or when that would occur. But another way to see when a function was introduced is to use the Release Notes. The section to which I linked goes back to release R2015a (and you could extend the range as far back as R14SP2, released in 2005) and that's far enough back to show that alignsignals was introduced in release R2015b.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!