MISRA C:2012 Rules in Simulink

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

回答 (1 件)

Ashutosh Thakur
Ashutosh Thakur 2024 年 6 月 19 日

0 投票

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.

カテゴリ

製品

リリース

R2019a

質問済み:

2024 年 4 月 26 日

回答済み:

2024 年 6 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by