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

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

 Accepted Answer

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

3 Comments

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
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)

Products

Release

R2018b

Tags

Community Treasure Hunt

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

Start Hunting!