フィルターのクリア

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.
  1 件のコメント
wietjes
wietjes 2016 年 5 月 5 日
And how do I extract the results from the function?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by