Model coverage with library blocks and model reference.
Mostrar comentarios más antiguos
Good afternoon,
I'm trying to create a workflow for apllication development on simulink where one or more libraries and one or more projects can be referenced to access blocks and referenced models.
I've some trouble to understand how I can aggregate the coverage of my main blocks with the one obtained testing the library blocks and referenced models stand alone.
For example:
I have block Main that will instance library block LibA and LibB, In te same time it will refernced project X and use model C into the application.
I want at this point create test harnesses for the block Main without concerning directly in these harnesses of coverage of library blocks and referenced models. In this way, even if my harness won't cover 100% of LibA and LibB, this will be obtained by the harnesses dedicate to the library blocks. The same should work also for referenced models.
I'm not be able to reproduce this behaviour. Is there any guide or someone that can explain me how to approach to this problem?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Collect Coverage for Models en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!