MISRA C compliant code generation
显示 更早的评论
is there a standard simulink model configuration settings for generating MISRA c compliant code ?
回答(1 个)
Shivam Lahoti
2024-11-12
0 个投票
Hi,
I understand that you are experiencing MISRA violations in your Simulink model. MISRA violations are important to address, as they help ensure your model adheres to industry-standard coding practices, particularly for safety-critical applications. To assist you, I've provided a link below that lists all the MISRA violations flagged in Simulink:
https://in.mathworks.com/help/slcheck/ref/model-advisor-checks-for-misra-c2012-coding-standards.html
You can manually follow the suggested fixes for these violations to bring your model into compliance. Additionally, some of these Model Advisor violations come with automated fixes that are built into the tool. You can take advantage of these automated fixes to efficiently resolve the violations, saving time and effort while ensuring accuracy.
Regards,
Shivam.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!