problems with not getting neon call using coder
조회 수: 1 (최근 30일)
이전 댓글 표시
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)
%#codegen
% Copyright 2015 The MathWorks, Inc.
y = u1 + u2;
end
The image below shows captures from the process
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/621873/image.png)
댓글 수: 0
답변 (1개)
Swatantra Mahato
2021년 7월 1일
Hi Barry,
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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!