Why did my single precision model generate double data type sine functions, using sin(real_T) instead of sinf(real32_T)?
Afficher commentaires plus anciens
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?

Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Fixed-Point Code Generation in Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

