MISRA C:2012 Rules in Simulink

Is Guidelines for MISRA C:2012 Rules in simulink are common to all platform?

Réponses (1)

Ashutosh Thakur
Ashutosh Thakur le 19 Juin 2024

0 votes

Hi Paturi,
Code generation tools such as Embedded Coder support the MISRA C:2012 guidelines in the generated code, they also support the modeling styles as well. For more information on the support of MISRA C:2012, you can refer to the following link: https://www.mathworks.com/help/simulink/misra-c2012-compliance-considerations.html?s_tid=CRUX_lftnav.
Additionally, the Model Advisor provides some checks to verify compliance with the MISRA C:2012 coding standards. The following link will list the checks for which some of the guidelines are supported: https://www.mathworks.com/help/slcheck/ref/model-advisor-checks-for-misra-c2012-coding-standards.html.
I hope this helps regarding the MISRA C:2012 guidelines in Simulink.

Catégories

Produits

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by