cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MAT MATLAB generated code for sine cosine not using ARM sine cosine instructions

Ahmed Zahran
Associate II
Posted on May 29, 2017 at 10:26

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    

0690X000006078GQAQ.png0690X000006078LQAQ.png0690X0000060786QAA.png0690X000006078BQAQ.png

#stm32-mat/target-matlab #matlab
11 REPLIES 11
Posted on June 02, 2017 at 15:49

really appreciate you quick response. I will try to check all notes

thanks a lot 

Posted on June 02, 2017 at 15:51

I didn't activate and interrupt routines yet. Only the DMA for the ADC as I am measuring 8 channels