Simulink Embedded coder performance on STM32

Thread Starter

pxidr

Joined Aug 9, 2018
1
I'm currently devolopping a complex motor control algorithm on a STM32F429 (ARM Cortex M4 180MHz, 225DMIPS, hardware FPU and DSP capabilities).

I'm using Simulink R2018a with Keil uVision 5 as compiler, and STM32-MATLAB librairies.

I read some horror stories about the performances of the Embedded coder of MATLAB, which produces completely inefficient code, about 10x less rapid than hand-coded C.

But these where like 8 years ago, and MathWorks advertizes that they did a lot of efforts optimizing the Embedded Coder.

Is that true? Does MATLAB produce efficient and reliable embedded C code?
 
Top