MATLAB Answers

Is there any other way to use coder for accumarray() ?

1 view (last 30 days)
madhan ravi
madhan ravi on 15 Aug 2019
Commented: madhan ravi on 15 Aug 2019
As stated in the documentation there are some limitations to some functions including accumarray(). Is there any other way to feed this function into coder ,if so , how?
accumarray([1,1;2,3;5,5],3,[],[],999) % for example

  0 Comments

Sign in to comment.

Accepted Answer

Mike Hosea
Mike Hosea on 15 Aug 2019
Not in 18b, I think. Support for accumarray was added in 19a, if memory serves.

  3 Comments

madhan ravi
madhan ravi on 15 Aug 2019
Thank you, Mike. Could you by chance share a link which functions coder has no limitations in 18b? Other than https://in.mathworks.com/help/coder/ug/functions-supported-for-code-generation-alphabetical-list.html
Mike Hosea
Mike Hosea on 15 Aug 2019
I don't have such a list. I think it would be hard to keep up with and hard to use. Limitations come in different flavors. Even functions that are supported for almost all real world use cases might have a limitation that affects only a rarely-used option. Or you might just have to do something extra, like supplying something explicitly that you previously didn't.
The Code Generation Readiness tool is meant to help people figure out what support is missing.

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags

Products


Release

R2018b