MISRA C:2012 Rules in Simulink

2 views (last 30 days)
Paturi
Paturi on 26 Apr 2024
Answered: Ashutosh Thakur on 19 Jun 2024
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

Community Treasure Hunt

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

Start Hunting!