Why did my single precision model generate double data type sine functions, using sin(real_T) instead of sinf(real32_T)?
Mostra commenti meno recenti
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?

Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Fixed-Point Code Generation in Simulink in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

