Why did my single precision model generate double data type sine functions, using sin(real_T) instead of sinf(real32_T)?
Ältere Kommentare anzeigen
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?

Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Fixed-Point Designer finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

