code generation for FFT is void

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?

답변 (1개)

Walter Roberson
Walter Roberson 2016년 5월 5일

0 개 추천

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.

댓글 수: 1

wietjes
wietjes 2016년 5월 5일
And how do I extract the results from the function?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

질문:

2016년 5월 5일

댓글:

2016년 5월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by