code generation for FFT is void

2 vues (au cours des 30 derniers jours)
wietjes
wietjes le 5 Mai 2016
Commenté : wietjes le 5 Mai 2016
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?

Réponses (1)

Walter Roberson
Walter Roberson le 5 Mai 2016
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 commentaire
wietjes
wietjes le 5 Mai 2016
And how do I extract the results from the function?

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by