Why did my single precision model generate double data type sine functions, using sin(real_T) instead of sinf(real32_T)?
古いコメントを表示
I am trying to generate code for TI target. My model has sine block for single data type signals. I found generated code have convert calculation to double data type. I expected it to use the single data type version of the sine function.
I guess the generated code would not be efficient. Is there any way to make the code to use a single version sin function?

採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Fixed-Point Code Generation in Simulink についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

