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

Accepted Answer
More Answers (0)
Categories
Find more on Fixed-Point Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
