MATLAB Answers

madhan ravi

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

Asked by madhan ravi
on 15 Aug 2019
Latest activity Commented on by 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


Sign in to comment.





1 Answer

Answer by Mike Hosea
on 15 Aug 2019
 Accepted Answer

Not in 18b, I think. Support for accumarray was added in 19a, if memory serves.


Thank you, Mike. Could you by chance share a link which functions coder has no limitations in 18b? Other than
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.
Thank you :)

Sign in to comment.