Generate MISRA compliant c code from m-files?

1 visualización (últimos 30 días)
Henrik Jagebäck
Henrik Jagebäck el 21 de Feb. de 2017
Respondida: Hari Desanur el 23 de Feb. de 2017
MISRA compliance is only mentioned for embedded Coder and not for Matlab Coder. We want to generate MISRA compliant c code from m-files and not simulink models is that possible? It's mentioned that by using Matlab Coder together with Embedded Coder you can optimize the code and customize the generated code. Is this a way to also be able to generate MISRA compliant code?

Respuestas (1)

Hari Desanur
Hari Desanur el 23 de Feb. de 2017
As of MATLAB R2016b, I don't think MATLAB Coder generates 100% MISRA compliant code but you can set some of the settings as mentioned in this link to increase compliance -

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by