Simulink Block not executed

2 visualizaciones (últimos 30 días)
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar el 3 de Jun. de 2020
Comentada: Ajay krishna Vasanthakumar el 5 de Jun. de 2020
Hey Guys,
i have a question ,Hope someone can answer it.
when the block is not executed in simulink(due to short circuit),the blocks recieves zero execution percentage.Does Simulink takes the number of the decision associated with the block which is not executed ,to calculate the overall decision percentage of the model?
Thanks

Respuesta aceptada

Pat Canny
Pat Canny el 4 de Jun. de 2020
Editada: Pat Canny el 4 de Jun. de 2020
Hi Ajay,
The coverage report should show the decision coverage achieved for that block. I assume the block you are referring to, if it is able to receive Decision coverage, should also appear to not achieve any Decision coverage. Are you seeing that in the report?
The coverage report should also show the coverage achieved at the model level. If the block can receive Decision coverage, any missing Decision coverage from that block would reduce the overall model's Decision coverage.
Thanks.
  • Pat
  1 comentario
Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar el 5 de Jun. de 2020
Thanks Pat.
i dont have simulink coverage tool box,just i want to know how the tool box works in the senario mentioned above.
Thanks alot Pat!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Collect Coverage for Models en Help Center y File Exchange.

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by