How to deal with MISRA SLSF 036 rule
Hello,
I’m using Simulink and Stateflow to produce a MISRA SLSF and MISRA C compliant model, to produce an AUTOSAR SwC with Embedded Coder.
I’m using bus signals into models in different points as they are really useful for my intended implementation.
One of the required rules by MISRA SLSF is the 036. The statement "A" of this rule suggest not to use Bus inputs with Stateflow, since buses are used in Simulink to package signals together often with different types. Each data in Stateflow must have a unique type definition.
My questions are:
– Is this rule still valid with R2018a?
– Is there a correlated check into Model Advisor for this rule?
– Is there a way to use buses and respect this rule?
Thanks in advanceHello,
I’m using Simulink and Stateflow to produce a MISRA SLSF and MISRA C compliant model, to produce an AUTOSAR SwC with Embedded Coder.
I’m using bus signals into models in different points as they are really useful for my intended implementation.
One of the required rules by MISRA SLSF is the 036. The statement "A" of this rule suggest not to use Bus inputs with Stateflow, since buses are used in Simulink to package signals together often with different types. Each data in Stateflow must have a unique type definition.
My questions are:
– Is this rule still valid with R2018a?
– Is there a correlated check into Model Advisor for this rule?
– Is there a way to use buses and respect this rule?
Thanks in advance Hello,
I’m using Simulink and Stateflow to produce a MISRA SLSF and MISRA C compliant model, to produce an AUTOSAR SwC with Embedded Coder.
I’m using bus signals into models in different points as they are really useful for my intended implementation.
One of the required rules by MISRA SLSF is the 036. The statement "A" of this rule suggest not to use Bus inputs with Stateflow, since buses are used in Simulink to package signals together often with different types. Each data in Stateflow must have a unique type definition.
My questions are:
– Is this rule still valid with R2018a?
– Is there a correlated check into Model Advisor for this rule?
– Is there a way to use buses and respect this rule?
Thanks in advance stateflow, misra MATLAB Answers — New Questions