problems with not getting neon call using coder
2 views (last 30 days)
Show older comments
Barry Bosworth on 18 May 2021
Answered: Swatantra Mahato on 1 Jul 2021
I have a simple m file function that adds 2 vectors, just to get the code generator to generate neon code,
but there are no calls to neon in the generated code.
This is the function:
function y = simple_addition(u1,u2)
% Copyright 2015 The MathWorks, Inc.
y = u1 + u2;
The image below shows captures from the process
Swatantra Mahato on 1 Jul 2021
In addition to setting the hardware setting you also need to change the "Code Replacement Library" settings from "More Settings>Custom Code".
You can find an example that demonstrates the overall process below:
Hope this helps
Find more on MATLAB Coder 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!