code generation for FFT is void
Mostrar comentarios más antiguos
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?
Respuestas (1)
Walter Roberson
el 5 de Mayo de 2016
0 votos
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 comentario
wietjes
el 5 de Mayo de 2016
Categorías
Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!