I faced problem when I tried to generate sine using Matlab Embedded coder as it is appear with normal format without using ARM instructions. I installed ARM CORTEX M through matlab package installer but it didn't appear in the replacement functions menu. any body can help as my code calculate a lot of sine cosine operations and the execution time is too big!

Thanks in advance

The FPU of the Cortex M has no sin or cos instructions, the need to be emulated.

And, your generated code consistently uses double variables and constants. Neither is supported natively, only single precision (except some of the very latest Cortex M7 variants).

And some Cortex M cores (M0 .. M3) have no FPU at all, so

anyfp operation must be emulated.