code generation for FFT is void
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to generate code from my m-code which computes an FFT. When I see the results the c-function is void when the result should be a complex double?
댓글 수: 0
답변 (1개)
Walter Roberson
2016년 5월 5일
The generated code has pointers passed in to it. C cannot handle multiple outputs, so Mathworks generates code that passes in pointers for all outputs, rather than special-casing the first output.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!