Generate MISRA compliant c code from m-files?
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Hari Desanur
2017-2-23
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 -
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!