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?

Antworten (1)

Walter Roberson
Walter Roberson am 5 Mai 2016

0 Stimmen

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 Kommentar

wietjes
wietjes am 5 Mai 2016
And how do I extract the results from the function?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Coder finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 5 Mai 2016

Kommentiert:

am 5 Mai 2016

Community Treasure Hunt

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

Start Hunting!

Translated by