code generation for FFT is void

2 次查看(过去 30 天)
wietjes
wietjes 2016-5-5
评论: wietjes 2016-5-5
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
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by