MISRA C:2012 Rules in Simulink

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

Answers (1)

Ashutosh Thakur
Ashutosh Thakur on 19 Jun 2024
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.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 26 Apr 2024

Answered:

on 19 Jun 2024

Community Treasure Hunt

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

Start Hunting!