Main Content
Check bus object names that are used as bus element names
Check ID:
mathworks.misra.BusElementNames
Identify bus object names that are used as bus element names.
Description
Using this check increases the likelihood of generating code for embedded applications that is compliant with MISRA C:2012. The check flags instances where a Simulink.Bus object name is used as the Simulink.Bus element name.
Available with Embedded Coder® and Simulink® Check™.
Results and Recommended Actions
Condition | Recommended Action |
---|---|
A bus object name is being used as a bus element name. | Change either the flagged bus object name or the bus element name so that they are not identical. |
See Also
MISRA C:2012, Rule 5.6
MISRA AC AGC, Rule 5.3
MISRA C (Embedded Coder)